Skip to main content
100%

Activity6_Question 3.1

✓ Published0🌍 Public
Ssaisnehapalle@my.unt.edu
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Activity6_Task 3.1

This scatter plot displays the relationship between vehicle mileage and price across different car types, using color-coded circles for the Iris dataset. The visualization loads data from a CSV file via d3.csv, parses the numeric values, and maps them to SVG circle elements using d3.scaleLinear scales. Coordinate axes are rendered with d3.axisLeft and d3.axisBottom, while circle colors are determined by a custom marker function that assigns distinct hues to each car type. The chart is built with D3 v6, using the select, extent, and join methods to bind data to SVG elements.

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