Skip to main content
100%

Activity 7_Task 1

✓ Published1🌍 Public
HHarshita Vairagade
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within the VizHub environment, rendering a simple text message that is centered on the page. It shows how to import D3’s `select` function and local ES6 modules to manipulate a DOM element. The code uses the `d3.select` API to target the `#message` div and set its text content, while `styles.css` applies large, centered typography. The visualization serves as a baseline template, highlighting basic module imports and D3’s DOM selection capabilities without additional data or complex rendering.

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