Skip to main content
100%

Activity6_Task4_q1

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

This example demonstrates a basic D3.js setup within VizHub, showing how to import modules from both D3 and local ES6 files. It uses the `select` API from D3 v5 to target a `#message` div and update its text content. The text itself comes from a local `message` variable exported by a separate module, while the page loads D3 via UNPKG and links an external stylesheet. The visualization simply renders a static, centered text message using CSS for styling.

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