Skip to main content
100%

Fork of Reusable Scatter Plot

✓ Published0🌍 Public
Ppriyankachary1701@gmail.com
Last edited Oct 26, 2025
Created on Oct 26, 2025
Forked from HTML Starter

A reusable scatter plot displays library book data from a CSV file, plotting pages on the x-axis against borrow count on the y-axis, with circle size encoding rating and color encoding genre. The chart is built using a Bostock-style factory function that employs D3 v7 APIs including `d3.scaleLinear`, `d3.scaleSqrt`, `d3.scaleOrdinal`, `d3.axisBottom`, `d3.axisLeft`, and `d3.symbol`. A tooltip appears on mouseenter, showing the book title and all encoded values. SVG rendering includes an interactive legend for the genre categories.

AI-generated description
MIT Licensed

Similar vizzes