Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of activity 6

Public visualization

Viewing a saved revision (read-only)

83de535d4fbc4b35b2996db404a0d25e

Fork of activity 6

0 stars0🌍 Public
Vvrushikarao03@gmail.com
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from activity 6

This example demonstrates how VizHub supports modern JavaScript workflows, importing D3.js functions and local ES6 modules to render a simple text message. The page loads D3 v5 from UNPKG and uses the `select` API to target the `#message` div, setting its content from an imported `message` string. A local `styles.css` file centers the text at a large font size, while the accompanying README highlights the platform’s capabilities for bundling and module reuse. The code also includes a regular expression and an unused variable, indicating a template or learning exercise.

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.