Skip to main content
100%

activity6

✓ Published0🌍 Public
Aanith462@gmail.com
Last edited Jun 26, 2023
Created on Jun 26, 2023
Forked from Hello VizHub

This example demonstrates how to render a simple text message using D3.js within the VizHub framework. The page loads D3 v5 from a CDN and uses the `select` API to target a div with the id `message`, setting its text content from a local ES6 module. The module `myMessage.js` exports a string, and the import statement in `index.js` ties the data to the visualization. Styling is applied via an external CSS file, centering the text at a large font size. The example highlights basic D3 DOM manipulation and module imports without any data visualization or advanced rendering techniques.

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