Skip to main content
100%

Histogram

✓ Published0🌍 Public
CCsar171991
Last edited Jul 24, 2023
Created on Jul 14, 2023
Forked from Making A Bar Chart

This histogram displays population counts for Peruvian regions using a horizontal bar chart, with the y-axis listing country names and the x-axis showing population values scaled linearly. The visualization uses D3 v7’s `scaleBand` and `scaleLinear` to map data, `axisLeft` and `axisBottom` for axes, and SVG rectangles for bars. Population values are multiplied by 1000 in the CSV parsing step, and the chart is rendered within a margin-defined group using D3 selections.

AI-generated description
MIT Licensed

Similar vizzes