🌍 Public
Viewing a saved revision (read-only)
8b363b309e6d48fc8a42b5f2f766c78e
Activity7_Task 1
This example demonstrates a minimal VizHub project that initializes a D3.js visualization within a React framework. It renders a fixed text message, “Hello VizHub!”, by importing the `select` API from D3 and a local ES6 module for the string. The page uses a Poppins font and defines custom styles for axis ticks, marks, and labels, though no actual chart data is processed. The code imports D3 version 5.11.0 via UNPKG and React 16.9.0, and the visualization is static with no interactive or animated behavior.
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.