Skip to main content
100%

Fork of Activity 7

✓ Published1🌍 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.
MIT Licensed

Similar vizzes