Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lets make a Bar Chart

Public visualization

Viewing a saved revision (read-only)

fb015729495d4063bb8c6c647dd26ef8

Lets make a Bar Chart

0 stars2🌍 Public
VVamsiYandapalli
Last edited Dec 3, 2021
Created on Dec 3, 2021

This bar chart displays population figures for ten countries, using horizontal bars to compare each nation's total population. The chart is built with D3 version 7, utilizing `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisLeft` and `axisBottom` for the axes. The data is loaded from a CSV file via `csv`, with each population value multiplied by 1000 before rendering. The SVG output features steel-blue rectangles and is customized through a linked stylesheet.

AI-generated description