Skip to main content
100%

Untitled

✓ Published1🌍 Public
Hharshb863
Last edited Jul 11, 2022
Created on Jul 8, 2022
Forked from Untitled

This bar chart displays the population of eight countries, using a horizontal layout where each bar’s length corresponds to the population value. Built with D3 v7 and React, it renders to SVG via the `select` and `csv` APIs, scaling the x-axis with `scaleLinear` and the y-axis with `scaleBand`. Each bar is assigned a distinct color from a fixed array, with axes added using `axisLeft` and `axisBottom`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes