Skip to main content
100%

Bar Chart

✓ Published0🌍 Public
Ppavan0828
Last edited Jun 25, 2022
Created on Jun 25, 2022
Forked from Bar Chart

This bar chart visualizes global sales by video game genre, ranking categories like Action and Shooter from highest to lowest on a linear scale. Using D3 version 6, the code loads CSV data via `d3.csv` and draws SVG rectangles with `d3.selectAll`. The axes are created with `d3.axisBottom` and `d3.axisLeft` on band and linear scales. Rectangles change fill color from steelblue to orange on mouseover, then transition to red on mouseout with a 250ms duration.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes