Skip to main content
100%

TP3 DataViz

✓ Published0🌍 Public
LLRobergeon
Last edited Nov 29, 2017
Created on Nov 29, 2017

This example animates a multi-series line chart showing the monthly closing prices of Microsoft, Amazon, and IBM from 2000 to 2010. It first draws the lines progressively, then transitions to a horizon chart, using stacked, semi-transparent bands to encode price magnitude. Built with D3 v3, it relies on `d3.svg.line`, `d3.svg.area`, `d3.time.scale`, and `d3.timer` for the animation, with data loaded from a CSV file via `d3.csv`. The final view clips each band with a `clipPath` and uses a color scale to differentiate the series.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/855207ac5fb5c170de59b9c69ea56012'>simple line chart from dataset</a>

forked from <a href='http://bl.ocks.org/LRobergeon/'>LRobergeon</a>'s block: <a href='http://bl.ocks.org/LRobergeon/eb61608fd8c1d25f913eb59f83360f59'>TP3 simple line chart</a>

forked from <a href='http://bl.ocks.org/LRobergeon/'>LRobergeon</a>'s block: <a href='http://bl.ocks.org/LRobergeon/c798d6b5352264dcb5215dd7da067c2e'>TP3 area chart</a>

mit Licensed

Similar vizzes