Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Test Title

Public visualization

Test Title

0 stars0🌍 Public
Rrobertmreedy
Last edited May 24, 2020
Created on May 24, 2020
Forked from Making a Bar Chart

A horizontal bar chart displays population counts for four countries, using green bars to encode values against a linear scale. The chart imports data from a CSV file, applying a multiplier of 1000 to each population figure before rendering. The code uses d3.csv, d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom to construct the SVG visualization. Axis labels and a title are added manually, while grid lines and tick marks are removed for a cleaner presentation.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed