Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making Bar chart

Public visualization

Viewing a saved revision (read-only)

dab742281c8845c5bf7d16c2b0a9499c

Making Bar chart

0 stars1🌍 Public
NNohaS
Last edited Sep 1, 2023
Created on Sep 1, 2023

This bar chart visualizes the population of ten countries, using horizontal bars scaled linearly along the x-axis and sorted categorically along the y-axis. Each bar’s length encodes the population value, with data loaded from a CSV file via `d3.csv` and scaled using `scaleLinear` and `scaleBand`. The chart renders in SVG, with axes generated by `axisLeft` and `axisBottom`, and bars styled with a steelblue fill. Population values are multiplied by 1,000 during data preprocessing to reflect actual counts.

AI-generated description