🌍 Public
Viewing a saved revision (read-only)
5c9cb326d68c49608a54372a92b54eaf
Fork of Bar Chart
This bar chart visualizes global video game sales by genre, from Action’s 563 million units to Strategy’s 23 million. Built with D3 v6, it uses `scaleBand` for the categorical x-axis and `scaleLinear` for the numeric y-axis, drawing SVG rectangles from CSV data. Interactive hover effects transition bars from steelblue to orange, and mouseout reverts them via `transition.attr` over 250 milliseconds. Axis labels and titles are appended as SVG text elements.
AI-generated descriptionA demonstration of how to start using D3 version 6.