Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7866791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:30:33+00:00 2026-06-03T00:30:33+00:00

In The Visual Display of Quantitative Information , Edward Tufte coined a term slopegraph

  • 0

In The Visual Display of Quantitative Information, Edward Tufte coined a term “slopegraph” for a very minimal type of chart (more information). The authoritative example looks like this:

Example of slope graph

There are at least two implementations of slopegraph in d3.js in th wild:

  • http://markmarkoh.com/tuftes-slope-graphs-in-svg-using-d3js/
  • http://skedasis.com/d3/slopegraph/

I had a shot at a more declarative implementation, and also to preserve a 100% correspondence between values in both columns, but got stuck. As expected, when items with similar or same values appear in the data set, the graphics overlap and the chart is not readable.

The naïve version (source ) uses the linear scale for computing horizontal position, while the attempt to “normalize” the positions (source) uses the ordinal scale.

I believe better results can be achieved with the ordinal scale, computing the offset based on coordinates of overlapping items. Should the offset be computed separately for both columns, should it be computed in advance based on data, or on the fly during setting the attributes? How could the codebase be expanded so items with the same values are positioned below each other, other items are adjusted accordingly and the values in both columns stay on the same horizontal position?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T00:30:34+00:00Added an answer on June 3, 2026 at 12:30 am

    I was toying around with your first example a bit in an attempt to address the issue of jumbled text labels, I’m not sure how useful it will be, but in case it adds to the discussion, I figured I would share..

    My first effort was to fade the text surrounding the text labels of a data point that was hovered over, this simply selects text labels that overlap the currently selected label’s bounding box, and transitions them to near zero opacity:
    http://bl.ocks.org/2554902

    I then tried to work on a way to arrange the text labels in a compact way, so that each of them were viewable, I did not finish it’s implementation because it seemed to extend the boundaries of the visualization too much (it also currently does not work well when changing the year..), but it might be worthwhile to look towards something like this on slightly less ‘compact’ data:
    http://bl.ocks.org/2554910

    Edit: it seems that these do not work as intended in firefox, seems to be an issue with getBBox()..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm very new to visual C# I want to display an array of images
I want to display visual/auditory stimuli inside a web browser for psychophysic experiments. I
In Visual Studio you can display the Call hierarchy of a single function. What
I can display a simple Visual Basic inputbox from a PowerShell script like this:
The Visual Studio autoexp.dat syntax allows you to display ‘the name of the most-derived
.NET/Visual Studio uses an object's ToString() method to display the value of an object
How can I display the names of table columns in visual editor eclipse? I
Is there any way to get Visual Studio debugger to display the contents of
This has happened since yesterday, some razor views display like this in visual studio:
Is there a C++ graphing library that can display visual graphs (such as hyperbolas

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.