Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
SSumit Gupta
Last edited Sep 3, 2020
Created on Sep 3, 2020
Forked from HTML Starter

This example demonstrates a simple bar chart of country populations using D3 v5 within a React framework, rendered as SVG. The chart maps population values to bar widths via a linear scale and country names to vertical positions via a band scale, with axes generated by `d3.axisLeft`. Data is loaded from a CSV file using `d3.csv`, parsed into numeric values, and appended as rectangles to the SVG container. The visualization shows a clear horizontal bar comparison across ten countries, with styling handled by an external stylesheet.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes