Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making Bar chart

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed