Skip to main content
100%

Graph and table with tricks

✓ Published0🌍 Public
Dd3noob
Last edited Nov 30, 2019
Created on Jun 22, 2014

A line chart of stock closing prices over time is displayed alongside an HTML table listing each date’s close, open, and computed difference. The SVG chart uses d3.time.scale and d3.svg.line to render the path, while d3.csv loads the data. The table is built with d3.select and append, then sorted by closing price in descending order, with column headers capitalized.

AI-generated description

This is a follow on from the simple d3.js graph with table used as an example in the book D3 Tips and Tricks.

It demonstrates the generation of a graph and a html table with a few alterations. It should be taken in context with the text of the book which can be downloaded for free from Leanpub.

mit Licensed

Similar vizzes