Skip to main content
100%

simple line chart without dataset

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

This example displays a simple bar chart constructed from a hardcoded array of ten numeric values. It first renders a set of static white rectangles with black strokes, then uses `d3.scaleLinear` to map data values to pixel heights for a second set of bars, with corresponding text labels placed above each bar. The visualization is built with D3 v4 and rendered as SVG elements, created directly by appending `rect` and `text` nodes to the document.

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 with interaction</a>

forked from <a href='http://bl.ocks.org/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/4a9ecaa288216641e021da8ba5d7199a'>simple bar chat with interaction</a>

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

mit Licensed

Similar vizzes