Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CS416 Project_2

Public visualization

CS416 Project_2

0 stars0🌍 Public
Mmz4987
Last edited Jul 28, 2021
Created on Jul 18, 2021

The visualization compares average user ratings and prices of Amazon top 50 bestselling books from 2009 to 2019 using two linked bar charts. It renders SVG with d3.v6, using `d3.scaleBand`, `d3.scaleLinear`, and `d3.axisLeft`/`d3.axisBottom` to encode data from a Kaggle CSV. Interactive buttons trigger `init2()` to highlight a selected year with thicker strokes, while an animation-driven `next()` button advances through years sequentially.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed