Skip to main content
100%

simple bar chat updates

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

A simple bar chart displays ten labeled categories from a semicolon-delimited CSV dataset, with values periodically updated. The chart uses D3 v4 scales, entering text labels and rectangles into an SVG, then re-scaling the y-domain to the maximum value before applying a transition to the rectangle heights and positions. Rectangles are styled with black strokes and no fill, and the update cycle runs every 500 milliseconds using `setInterval`, demonstrating dynamic data binding and smooth transitions.

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>

mit Licensed

Similar vizzes