Skip to main content
100%

Lab 05

✓ Published0🌍 Public
MMario Morales Barquero
Last edited May 25, 2021
Created on May 25, 2021
Forked from Bar Chart

This example shows a bar chart of global video game sales by genre, using data from a CSV file. D3 version 6 loads the data with `d3.csv`, maps it with `scaleBand` and `scaleLinear`, and renders SVG rectangles with axes via `d3.axisLeft` and `d3.axisBottom`. Bars animate color changes on hover using `selection.on` and `transition.attr`, shifting from steelblue to orange and back.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes