Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let´s make a bar chart!

Public visualization

Fork of Let´s make a bar chart!

0 stars0🌍 Public
MMatiasmedrano66
Last edited Dec 27, 2020
Created on Dec 27, 2020

This example displays a horizontal bar chart ranking countries by population, using data from a local CSV file. The visualization encodes population values with bar widths and country names along the y-axis. Built with D3 v5, it uses `d3.csv`, `d3.scaleLinear`, `d3.scaleBand`, `d3.axisLeft`, and `d3.axisBottom` to generate SVG elements. The bars are styled with steelblue fills, and axes are rendered with default tick formatting.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed