Skip to main content
100%

Project Line Chart rev 01

✓ Published0🌍 Public
Aadamfknapp
Last edited Nov 1, 2017
Created on Nov 1, 2017

This line chart plots the daily closing price of a financial asset over time, with dates ranging from late March to early May 2012. The visualization uses an SVG canvas and D3 v3 to render the data, employing `d3.time.scale` for the x-axis, `d3.scale.linear` for the y-axis, and `d3.svg.line` to create the path. The axes are drawn with `d3.svg.axis`, and the data is loaded from a CSV file containing date and close value pairs. The chart features a steelblue line with grey axis ticks and labels.

AI-generated description

This is a simple line graph designed to allow investigation of aspects of using d3.js and is used as a teaching aid.

It is the baseline example graph used in the D3 Tips and Tricks book.

Edit: June 2014

I am going through a process of updating the code resources for the book and the latest (but not particularly different) example of this graph is here.

forked from <a href='http://bl.ocks.org/d3noob/'>d3noob</a>'s block: <a href='http://bl.ocks.org/d3noob/4414436'>Simple line graph in d3.js</a>

mit Licensed

Similar vizzes