Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

de501b8c51374c68871d153f7d08aad8

Making a Bar Chart

0 stars4🌍 Public
Jjblaskovich
Last edited May 3, 2020
Created on May 2, 2020

A horizontal bar chart ranks ten countries by population, using a blue rect per nation with axis labels for country names and population values. The visualization loads population data from a CSV file, converts the numbers to absolute values, and renders SVG bars using D3 v5. It employs `d3.csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to position and scale the marks, with margins applied to an SVG container sized 960 by 500 pixels.

AI-generated description