Activity7_Task 1
✓ Published0🌍 Public
This example demonstrates a custom visualization built with D3 v5 and React, featuring a scatterplot with a bubble chart overlay. The code loads D3 via UNPKG and uses ES6 imports to organize components like custom axes (AxisBottom.js, Axisleft.js), a bubble element (Buddle.js), and proportional marks (Marks.js). The chart styles axis ticks and labels with a blue stroke and gray text, while data is imported through a local UseData.js module. The visualization highlights how to combine D3’s low-level primitives with React’s component structure for interactive web graphics.
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.
MIT Licensed