Skip to main content
100%

1 - Simple d3.js Graph

✓ Published0🌍 Public
Aadry34160
Last edited Oct 30, 2016
Created on Oct 30, 2016

This example plots a line chart of closing stock prices over time, with values read from a local CSV file containing date and close columns. The visualization uses D3.js v3 to create an SVG-based graph, employing `d3.svg.line`, `d3.time.scale`, and `d3.scale.linear` to map dates and prices to screen coordinates. It renders axes via `d3.svg.axis` with a bottom time axis and a left linear axis, while the line itself is drawn as a path with a steelblue stroke. The graph includes no interactive features or additional data layers, focusing solely on the basic line chart display.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes