Skip to main content
100%

tp3_d3

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

This example animates a small multi-series line chart of stock prices (sourced from a CSV file) into a horizon graph, a technique that visualizes magnitude through color intensity. Initially, each series is drawn sequentially as a black line using d3.svg.line with a time-scale x-axis and linear y-axis. The animation then transitions to a clipped view, applying d3.scale.ordinal colors to area fills composed of three stacked bands per series, compressing the y-domain to one-third the original value.

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/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/524b94d8f4c5ab45fb5ae5e183bf97bc'>simple line chart from dataset</a>

mit Licensed

Similar vizzes