Skip to main content
100%

Activity6_Task3

✓ Published1🌍 Public
119n81a0581sunny@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This example demonstrates the fundamental workflow of a VizHub project: importing D3 and local ES6 modules to manipulate the Document Object Model. The code uses D3’s `select` function to target a specific `<div>` element by its ID and set its text content to a string exported from a separate `myMessage.js` module. The visualization renders a static, centered text message with large font sizing defined in an external CSS file, showing how to structure code across multiple files for a simple but complete web-based data application.

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