Simple Bar chart
✓ Published0🌍 Public
This example shows a horizontal bar chart of fruit values sorted in ascending order. The chart uses D3 v3 with SVG rendering, mapping each fruit name to a y-axis position using `d3.scale.ordinal` and each value to a bar width via `d3.scale.linear`. The y-axis is drawn with `d3.svg.axis`, and bars are rendered as SVG `rect` elements with a label text appended to each bar.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed