Skip to main content
100%

Q3

✓ Published0🌍 Public
Nnsairitwikreddy@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Activity-6

This is a scatter plot that visualizes the relationship between horsepower and torque for vehicles, with each point colored by the car’s make. The data is loaded from a remote CSV file, and the chart uses linear scales for both axes with ordinal color mapping. It is rendered as SVG using D3 v7, featuring axes with labels, semi-transparent circles, and a legend showing the color categories. The code calls d3.csv, d3.scaleLinear, d3.scaleOrdinal, d3.axisBottom, and d3.axisLeft.

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.
MIT Licensed

Similar vizzes