Viewing a saved revision (read-only)
67444a28c64f49c48ac14c10009bcc77
Assignment 6 Diverging Bar Chart
The chart compares average Attack and Defense stats across Pokémon generations using horizontal diverging bars, with Attack extending rightward and Defense leftward from a central axis. It employs D3 v6 to create an SVG visualization, using scaleBand for the categorical y-axis and separate linear scales for each metric. Bars are colored with a blue-red interpolated scale, and a d3-legend legend distinguishes the two directions. Data comes from a CSV file containing per-generation averages, rendered as static rectangles without animation.
AI-generated descriptionCS 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