Skip to main content
100%

Bar Chart

✓ Published1🌍 Public
NNino Schelcher
Last edited Nov 4, 2020
Created on Nov 4, 2020
Forked from Lets make a face

This bar chart visualizes population data for seven countries, with horizontal bars representing each nation’s population count. The chart is rendered as an SVG using React and D3 v6, employing `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis. Axis labels are generated with `axisLeft` and `axisBottom`, while data is bound to rectangles using D3’s selection API. The page loads D3 from a CDN and styles text elements via CSS.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes