Skip to main content
100%

Assignment 6 Bar Chart With Sequential Color Scale

✓ Published1🌍 Public
Aahuynh8@dons.usfca.edu
Last edited Mar 4, 2024
Created on Mar 4, 2024

This bar chart displays the average Attack Power of Grass-type Pokémon across different Generations, with bars colored using a sequential blue-green color scale to represent value magnitude. The visualization is rendered as an SVG using D3 v6, employing `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.scaleSequential(d3.interpolateBuGn)` for color encoding. A color legend is added via the `d3.legendColor()` API. Data is loaded from a CSV file containing Generation and Grass attack averages.

AI-generated description

CS 360 Assignment 6 Bar Chart With Sequential Color Scale in D3 Annie Huynh

CSV URL: https://raw.githubusercontent.com/Ahuynh111/gist-practice/main/AttackAverages.csv

MIT Licensed

Similar vizzes