Skip to main content
100%

Activity 6_Task 1

✓ Published0🌍 Public
Aaadesh.pranesh@gmail.com
Last edited Apr 7, 2024
Created on Apr 7, 2024
Forked from Hello VizHub

This example renders a simple scatterplot with categorical y-axis labels and a quantitative x-axis, using React components to generate SVG ticks and lines. The `AxisBottom` component maps over scale ticks to draw vertical grid lines and formatted labels, while `AxisLeft` positions text labels at band centers. It imports `select` from D3 v5 to update the DOM, and the chart assumes data bound to the scales passed as props. The visualization demonstrates modular axis construction with reusable ES6 components.

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