Skip to main content
100%

Scatter Plot (Bubble Chart) with Custom Dataset

✓ Published0🌍 Public
KKrishna.
Last edited Oct 30, 2025
Created on Oct 30, 2025

This bubble chart visualizes the relationship between horsepower and highway MPG for a custom car dataset, with circle size encoding torque. The visualization uses D3 v7 with an SVG rendering approach, loading CSV data from a gist URL. It employs d3.scaleLinear for both x and y axes, d3.scaleSqrt for bubble sizing, and d3.csv with d3.autoType for data parsing. Grid lines are generated using d3.axisBottom and d3.axisLeft with tickSize, while interactive tooltips are provided through SVG title elements on hover.

AI-generated description
MIT Licensed

Similar vizzes