Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity 7

Public visualization

Viewing a saved revision (read-only)

430eebaade3e4a04a546e85dd8e0c5dd

Fork of Activity 7

0 stars1🌍 Public
Rruchithakakarla336@gmail.com
Last edited Apr 7, 2024
Created on Apr 7, 2024
Forked from Activity 7

This example demonstrates the fundamental workflow of a VizHub project, showing how to combine D3.js with local ES6 modules to manipulate the DOM. It loads D3 v5 from UNPKG and uses the `select` function from the `d3` namespace to set the text content of an HTML element. A separate local module named `myMessage.js` exports a string, which is imported and displayed in the page. The visualization is purely text-based, with styling applied through CSS to center the message at a large font size.

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.