🌍 Public
Viewing a saved revision (read-only)
a37fbac35d5e4c8589d86d3e721bcc00
Activity6_Task3.2
This scatter plot visualizes the relationship between car top speed and price, with point shapes encoding car brands. Built with D3 v7, the visualization uses `scaleLinear` for both axes, `scaleOrdinal` with `symbolsFill` for categorical shape mapping, and `symbol` to generate the varied point glyphs. The custom `axes` module labels the axes, while the `shapeLegend` module provides a manual legend for brand categories. Data is parsed from a remote CSV using `csvParse`, with numeric fields converted for plotting. The chart is fully responsive, scaling to the browser window dimensions.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.