Skip to main content
100%

Activity 6 Bar

✓ Published0🌍 Public
RRishabh Sharma
Last edited Apr 3, 2024
Created on Apr 3, 2024

This bar chart displays the populations of the top 10 most populous countries in the year 2000, using the dataset "Population 2000 top 10.csv". It shows the data as rectangular bars, colored steelblue by default, which turn orange on hover. The visualization is built with D3.js, using `d3.scaleBand` and `d3.scaleLinear` to map country names and population counts to x and y coordinates, respectively. The chart also includes rotated x-axis labels for readability and a y-axis, and is rendered as an SVG within an HTML page using JavaScript.

AI-generated description

A responsive bar chart.

MIT Licensed

Similar vizzes