Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BAR CHART

Public visualization

Viewing a saved revision (read-only)

d98bb075085c4dd5bd03cb4ad70e6b48

BAR CHART

0 stars0🌍 Public
Nnouralkhoury
Last edited Sep 28, 2020
Created on Sep 28, 2020
Forked from HTML Starter

This bar chart visualizes population estimates for ten countries, ordered alphabetically along the vertical axis with horizontal bar lengths proportional to population counts. The visualization uses D3 v6 within a React framework, employing `scaleLinear` and `scaleBand` to map data values to SVG coordinates. The code loads data from a CSV file using `d3.csv`, converts population strings to numbers, and renders the chart as an SVG with axes generated by `axisLeft` and `axisBottom`. Bars are styled with a steel-blue fill via CSS.

AI-generated description

A bare minimum HTML page.

See also React Starter.