Skip to main content
100%

Simple Difference Chart v7

✓ Published0🌍 Public
Dd3noob
Last edited Jun 19, 2021
Created on Jun 19, 2021

This difference chart visualizes the daily change in cumulative downloads for two Leanpub books, "R Programming for Data Science" and "The Elements of Data Analytic Style," from April to June 2015. The SVG rendering uses D3 v7 APIs including `d3.csv`, `d3.group`, `d3.timeParse`, `d3.scaleTime`, and `d3.scaleLinear` to compute and display the difference between the two series. The area between the lines is shaded orange or green depending on which book has higher daily gains, with dark green and red lines for the individual series. Data originates from the `downloads.csv` file, showing daily download totals.

AI-generated description

The 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

mit Licensed

Similar vizzes