Skip to main content
100%

Activity6_Task3

✓ Published0🌍 Public
Sskykarthik97@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example demonstrates how to integrate D3.js with ES6 modules in a VizHub project. It loads D3 v5 via UNPKG and uses the `select` API to update the text content of a div element. The code imports a local ES6 module, `myMessage.js`, which exports a string that gets displayed as the message. A simple CSS rule centers the text and sets its font size to 12em. The visualization presents a static, styled text output rather than a dynamic data-driven graphic.

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