Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ScatterPlot

Public visualization

Viewing a saved revision (read-only)

3a0cb86e716f4a7a815dfe3e5fa0c8c2

Fork of ScatterPlot

0 stars0🌍 Public
Mmukundakrishna.r@gmail.com
Last edited Mar 27, 2024
Created on Mar 22, 2024
Forked from Fork of Bar Graph

This scatter plot visualizes the relationship between sale price and number of ratings for iPhone products, using a dataset loaded via `d3.csv`. It shows individual data points as circles, with axes labeled for both variables. The code employs D3 v7’s `d3.scaleLinear` for positioning, `d3.axisBottom` and `d3.axisLeft` for axes, and appends circles with `g.selectAll('.dot')`. Styling uses CSS for axis text and hover effects, while the fill color is conditionally applied based on product name.

AI-generated description

A whole smiley face