Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task-4

Public visualization

task-4

0 stars0🌍 Public
Aajaykumarakula00@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Activity-6

This scatter plot uses a bubble chart to visualize the correlation between average horsepower (x-axis), average torque (y-axis), and highway MPG (bubble size) across 31 car makes. The D3.js visualization, rendered with SVG, features an animated tooltip that displays the car brand on hover, while a legend maps bubble size to MPG values and a color scale distinguishes each make. Data is loaded from a CSV file and mapped to scales using `d3.scaleLinear`, with `d3.interpolateTurbo` generating the color palette.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed