Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a bar chart

Public visualization

Making a bar chart

0 stars1🌍 Public
Vviolet-chaeyoonkim
Last edited Aug 9, 2019
Created on Aug 8, 2019

This chart displays the populations of ten countries, using horizontal bars whose lengths correspond to each nation’s total population. The visualization is built with D3 v5, reading data from a local CSV file and rendering SVG rectangles through `select`, `csv`, `scaleLinear`, `scaleBand`, and `bandwidth`. The x-axis scales population values, while the y-axis positions country names, and the bars are colored with the default SVG styling.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed