Skip to main content
100%

simple animated bar chat dataset

✓ Published0🌍 Public
EEnzoTheBrown
Last edited Nov 9, 2017
Created on Nov 9, 2017

A simple bar chart built with D3 v4 reads a semicolon-delimited CSV file from the local gist, parsing it with `d3.dsvFormat(';')` and `dsv.parse(raw)`. The SVG rendering creates a 960-by-500 canvas and uses `d3.scaleLinear` for both the x- and y-axes, with the y-domain computed from the maximum value in the dataset. Ten labeled bars (A through J) are positioned using the x-scale, though the chart currently lacks displayed rectangles and only renders the category names as text. The data source is a small `dataset.csv` included with the block.

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/c607174fc6fd5c7bfaa804d46ca70eab'>simple bar chat</a>

forked from <a href='http://bl.ocks.org/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/8fd6bffd4aca9e8f2181ba331070f60b'>simple bar chat from dataset</a>

forked from <a href='http://bl.ocks.org/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/98c007fd3367cd0665ebd15299c3bfdc'>simple bar chat updates</a>

forked from <a href='http://bl.ocks.org/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/66505e5ae61b0908ee857ecf54e508d9'>simple bar chat dataset</a>

forked from <a href='http://bl.ocks.org/EnzoTheBrown/'>EnzoTheBrown</a>'s block: <a href='http://bl.ocks.org/EnzoTheBrown/ab29595599a75f961976cea457da3a1e'>simple animated bar chat dataset</a>

mit Licensed

Similar vizzes