Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Population Density Bar Chart

Public visualization

Viewing a saved revision (read-only)

0164494db24f46cdbf26440714ccd613

Population Density Bar Chart

0 stars0🌍 Public
VVishnu Sudireddy
Last edited Jul 26, 2023
Created on Jul 25, 2023
Forked from D3 Data Dashboard

This bar chart visualizes population density data for the first five countries in a CSV dataset. The chart uses steel-blue bars that turn orange on hover, with rotated country labels on the x-axis. Built with D3.js v7, the code fetches CSV data from a GitHub repository, parses it with `d3.csvParse`, and renders SVG rectangles scaled by population using `d3.scaleBand` and `d3.scaleLinear`.

AI-generated description