Skip to main content
100%

Task3.1_Activity6

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

This example visualizes data from a bubble chart CSV file as a scatter plot, mapping horsepower to the x-axis, torque to the y-axis, and highway MPG to bubble radius. It uses D3 v6 to load and parse the CSV, then applies linear scales with d3.scaleLinear for positioning and sizing. The SVG rendering includes axes via d3.axisLeft and d3.axisBottom, with green axis labels for Torque and Horsepower. The code imports D3 functions such as csv, select, scaleLinear, extent, and axis functions from the d3 library loaded via UNPKG, and uses window dimensions for a full-screen display.

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