Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making a Barchart

Public visualization

Fork of Making a Barchart

0 stars0🌍 Public
VVineela Reddy
Last edited Mar 22, 2023
Created on Mar 22, 2023
Forked from Making a Barchart

This horizontal bar chart ranks the populations of the ten most populous countries, using D3’s `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis. The SVG render loads data from `data.csv`, multiplies each population value by 1000, and draws steelblue rectangles via D3’s `selectAll` and `enter`. Axis ticks are generated with `axisLeft` and `axisBottom`.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed