Skip to main content
100%

Fork of Scatterplot of the Iphone sales

✓ Published0🌍 Public
Mmukundakrishna.r@gmail.com
Last edited Mar 22, 2024
Created on Mar 22, 2024

This scatterplot shows the relationship between the sale price of iPhones and their number of ratings, with each point representing a product model. The visualization uses D3.js v7 to load a CSV dataset of iPhone sales from a GitHub gist, parse the numeric fields, and render circles scaled by the sale price on the x-axis and ratings count on the y-axis. The code employs d3.scaleLinear for both axes, d3.extent for domain computation, and d3.axisBottom and d3.axisLeft for tick marks. Hovering over a dot changes its fill color to orange, while the default styling uses steelblue, as defined in the CSS.

AI-generated description

This scatterplot is between rating and total reviews of the Iphone sales. It has been created using html,css and js.

MIT Licensed

Similar vizzes