Simple Difference Chart
This simple difference chart visualizes daily download counts for two books—R Programming for Data Science and The Elements of Data Analytic Style—from April to June 2015. It uses an SVG line chart with an area between the two series, shaded green where one book has more downloads and orange where the other leads, making the comparative difference visually explicit. The chart includes labeled axes and a legend, and is implemented with D3 v3, based on a block by Mike Bostock and adapted from D3 Tips and Tricks.
AI-generated descriptionThe graph above shows a simple example of a difference chart used as an example in the book D3 Tips and Tricks. It is based on the difference chart example produced by Mike Bostock.
The graph shows the difference in the number of daily downloads between R Programming for Data Science by Roger Peng and The Elements of Data Analytic Style by Jeff Leek
There is an explanation of the code available in D3 Tips and Tricks
forked from <a href='http://bl.ocks.org/d3noob/'>d3noob</a>'s block: <a href='http://bl.ocks.org/d3noob/8beea1d918ff4104f9ab'>Simple Difference Chart</a>