Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-8_Task-4

Public visualization

Viewing a saved revision (read-only)

5f95e4f940964570a346b6ef49c58f8a

Activity-8_Task-4

0 stars0🌍 Public
Hharipadmavathim2023@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This visualization shows the correlation between average horsepower, torque, and highway MPG for various car makes, using a bubble chart where the x-axis represents horsepower, the y-axis represents torque, and bubble size encodes highway MPG, with color distinguishing each make. The chart is built with D3 v7, rendering as SVG with animated tooltips. It employs d3.scaleLinear for axis and bubble sizing, d3.scaleOrdinal for color mapping, and d3.csv to load data from a local CSV file. A legend displays bubble size values and color-coded car makes.

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.