Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart.js

Public visualization

Making a Bar Chart.js

0 stars0🌍 Public
SSuzie1022susu
Last edited Jan 10, 2023
Created on Jan 9, 2023

This bar chart visualizes the populations of ten countries, ranging from China to Mexico. The data is loaded from a CSV file and values are multiplied by 1000. Using d3’s `scaleLinear` for the x-axis and `scaleBand` for the y-axis, it renders steel-blue rectangles in SVG, with axes labeled via `axisLeft` and `axisBottom`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed