Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A2Q1

Public visualization

Viewing a saved revision (read-only)

24035ab6c9ac41f28f56f0527255ec93

A2Q1

0 stars0🌍 Public
MmNamratha25
Last edited Jul 20, 2023
Created on Jul 20, 2023
Forked from D3 Barchart

This example displays a horizontal bar chart showing population counts for eleven countries, including China, India, and the United States. The chart uses an orange fill for each bar and includes labeled axes for country names and population values. The visualization is built with D3 v6, employing `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisLeft` and `axisBottom` to render the axes. Data is loaded from a CSV file using `csv`, and each population value is multiplied by 1,000 before being plotted in an SVG.

AI-generated description