Skip to main content
100%

Activity-8_Question-3

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

A sample dataset loaded from GitHub is displayed in a simple scatter plot, showing the relationship between horsepower and torque for different car makes. The plot uses blue and red dots to represent two random categories assigned to the data. The visualization is built with D3.js (v7), using `d3.scaleLinear` for axes and `d3.scaleOrdinal` for colors. The code demonstrates loading data via `csvParse`, and the chart is rendered as an SVG with axes and labels for "Horse Power" and "Torque".

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