Skip to main content
100%

ACT 6 TASK3.2

✓ Published0🌍 Public
BBhavana Sharma
Last edited Apr 5, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This scatter plot example uses D3 v7 to visualize data points with various shapes, mapping an additional categorical dimension through shape encoding. The visualization implements a custom axes module with axis labels, and a shape legend that displays the mapping between categorical values and symbol types. The code demonstrates importing specialized modules from local ES6 files and uses D3's scales, including `scaleLinear` and `scaleOrdinal`, along with `symbol()` from the `d3` namespace to generate the shapes for each data point.

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