Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_task3

Public visualization

Viewing a saved revision (read-only)

8125fbc1729b481fbae48b63f9f522ce

Activity6_task3

0 stars0🌍 Public
Yyadlapallisaisathvik@gmail.com
Last edited Oct 23, 2024
Created on Oct 22, 2024
Forked from HTML Starter

This example shows the relationship between car price and mileage with an interactive scatter plot. Each circle represents a vehicle, positioned by mileage on the x-axis and price on the y-axis, with color encoding price ranges via a `d3.scaleThreshold` (green, yellow, orange, red). Hovering over a point enlarges the circle and reveals the make, model, and price in a temporary text tooltip. The chart uses `d3.csv` to load external data and renders axes and circles as SVG, with a legend summarizing price bins.

AI-generated description

The above scatter plot is about pricing of various cars compared to the miles it has driven.