Skip to main content
100%

Reusable Line Chart

✓ Published0🌍 Public
RRicCheng
Last edited Sep 18, 2016
Created on Sep 18, 2016

This reusable line chart visualizes the monthly S&P 500 stock price index from January 2000 to February 2014, highlighting long-term trends and fluctuations. Built with D3.js v3, it uses `d3.svg.line` and `d3.svg.area` to render the path, with `d3.time.scale` and `d3.scale.linear` for axes. The chart is configurable via accessor functions for x and y values, and the y-axis includes gridlines with a baseline accent. Data is loaded from a CSV file and rendered as SVG.

AI-generated description

forked from <a href='http://bl.ocks.org/dougdowson/'>dougdowson</a>'s block: <a href='http://bl.ocks.org/dougdowson/9727398'>Reusable Line Chart</a>

mit Licensed

Similar vizzes