Skip to main content
100%

MAKING BARS

✓ Published0🌍 Public
VVito
Last edited Jan 28, 2020
Created on Jan 20, 2020
Forked from MAKING BARS

This example visualizes population data for five countries as horizontal bars, with country names on the y-axis and population counts on the x-axis. It uses React with D3 v5, loading data from a CSV file and rendering an SVG. The code employs `scaleLinear` for the population scale, `scaleBand` for the categorical country scale, and `axisBottom` and `axisLeft` to draw the axes. Bars are drawn as `rect` elements, filled with steelblue, with heights proportional to population values.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes