Skip to main content
100%

Assignment 4 Bar Chart D3

✓ Published2🌍 Public
Aahuynh8@dons.usfca.edu
Last edited Feb 21, 2024
Created on Feb 21, 2024

This example presents a bar chart showing the average attack power of Fire-type Pokémon across different generations. The chart uses D3.js version 6 to load CSV data from a GitHub repository, scale the categorical and quantitative axes with `d3.scaleBand` and `d3.scaleLinear`, and render SVG rectangles. Axis ticks are generated via `d3.axisBottom` and `d3.axisLeft`, with labels applied directly to the SVG canvas.

AI-generated description
MIT Licensed

Similar vizzes