Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ice7 part1

Public visualization

Viewing a saved revision (read-only)

33ae2a7149e04f46a2ac98cc2c3bc14b

ice7 part1

0 stars0🌍 Public
Jjammigumpula.priyanka193@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from HTML Starter

This interactive scatter plot visualizes the relationship between horsepower and MPG for a sample of cars from the Cars dataset, encoding each vehicle’s weight through circle radius and origin through color (USA, Japan, Europe). Using D3.js v7, the code builds SVG axes and circles, mapping quantitative scales for horsepower, MPG, and weight, while color categories are hardcoded. Hovering a circle reveals a tooltip with the car’s specific measurements, implemented via D3’s event handling and the `d3.select` API.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.