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
Llipeoliveira
Last edited Aug 21, 2019
Created on Aug 20, 2019
Forked from Making a Bar chart

This bar chart displays the population of ten countries, with horizontal bars sorted by country name along the y-axis and population values on the x-axis. Built with D3 v5, it loads data from a local CSV file and renders as an SVG. The code uses `scaleLinear`, `scaleBand`, `axisLeft`, `axisBottom`, and `selectAll` to create the visualization, styling the bars with a blue fill.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed