Activity-6 Task 1
✓ Published0🌍 Public
This example uses D3.js and React to render a simple visualization of text elements. It loads D3 via UNPKG and demonstrates importing both D3 API functions and local ES6 modules. The code uses the `select` method from D3 to set text content of a `div` element, while also defining a regular expression and a constant value. The page includes styled SVG axes with blue tick lines and green marks, though no actual data plot is visible in the provided code.
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