Skip to main content
100%

d3-template: timeSeries

✓ Published0🌍 Public
EEE2dev
Last edited Jul 14, 2016
Created on Jul 11, 2016

This example demonstrates a reusable time series chart built with D3.js v3, following the reusable chart pattern. The visualization renders an area chart with an overlaid line, using SVG, with data embedded directly in the page via a hidden `<pre>` tag or loaded from an external CSV file. The chart supports a configurable API (margin, width, height, x/y accessors) and combines approaches from Mike Bostock's reusable charts, Rob Moore's updatable charts, and the author's unified interface for external and embedded data. The time series shows monthly price data from January 2000 through August 2001, with the area filled in steel blue and a black line. The example highlights modular, reusable D3 code with a clean separation of concerns.

AI-generated description

Similar vizzes