Skip to main content
100%

TP2 Data viz small multiples UCBL 2017

✓ Published0🌍 Public
RRenaud-D-Harreville
Last edited Nov 28, 2017
Created on Nov 28, 2017

This example displays multiple small-multiple line charts, each representing the monthly stock price of a different company (MSFT, AMZN, IBM) from the dataset.csv file. Each chart includes an area fill and a line, with the y-axis scaled to the maximum price of that specific symbol. The code uses d3.nest() to group data by symbol, d3.timeParse to parse dates, and d3.axisBottom and d3.axisLeft to render axes. A d3.scaleOrdinal with d3.schemeCategory10 assigns a distinct color to each company’s chart.

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/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/87ccc538ea3f763d6ad25b227fed55fc'>TP2 Data viz UCBL 2017</a>

forked from <a href='http://bl.ocks.org/Renaud-D-Harreville/'>Renaud-D-Harreville</a>'s block: <a href='http://bl.ocks.org/Renaud-D-Harreville/ff427faa41d59b9a6921264988059e1b'>TP2 Data viz UCBL 2017</a>

forked from <a href='http://bl.ocks.org/Renaud-D-Harreville/'>Renaud-D-Harreville</a>'s block: <a href='http://bl.ocks.org/Renaud-D-Harreville/e7143efa09b66c8ab585a86aaf0d23ff'>TP2 Data viz small multiples UCBL 2017</a>

forked from <a href='http://bl.ocks.org/Renaud-D-Harreville/'>Renaud-D-Harreville</a>'s block: <a href='http://bl.ocks.org/Renaud-D-Harreville/56245478560a3b1f54e435484ae5428d'>TP2 Data viz small multiples UCBL 2017</a>

mit Licensed

Similar vizzes