Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task4

Public visualization

Viewing a saved revision (read-only)

bed78d2525f04810bb35e623932d0024

Activity6_Task4

0 stars0🌍 Public
Hhemanthmaddila13@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024

A bubble chart examines the relationship between average horsepower and torque for various car makes, with the size of each bubble encoding highway MPG, and color distinguishing different manufacturers. The visualization includes a legend for bubble size and color, and interactive tooltips that display the make of each vehicle on hover. Built with D3 v7, it uses `d3.scaleLinear` for axes and bubble sizing, `d3.scaleOrdinal` for color assignment, and `d3.interpolateTurbo` to generate a color palette. Data is loaded from a CSV file and rendered as animated SVG circles.

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.