Skip to main content
100%

D3 Scatter Plot - Amazon Bestsellers Dataset - Sitanshu Rupani

✓ Published1🌍 Public
SSitanshu Rupani
Last edited Sep 29, 2021
Created on Sep 15, 2021

This scatter plot displays the relationship between user ratings and book prices for Amazon’s top 50 bestsellers, with user rating on the x-axis and price on the y-axis. Each circle represents a book, positioned using d3.scaleLinear and bound to SVG circle elements via data joins. The axes are rendered with d3.axisLeft and d3.axisBottom, and the data is loaded asynchronously using d3.csv from a gist-hosted CSV file. The visualization uses D3 v6 and fills the full browser window with a minimal margin layout.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot.
This viz. is a scatter plot between the average review of a book out of 5 on the X axis vs the price of the book on the Y axis.

Source: Amazon Top 50 Bestsellers Dataset.

MIT Licensed

Similar vizzes