Skip to main content
100%

Activity6

✓ Published1🌍 Public
HHarshithaAmbilpur
Last edited Jul 9, 2023
Created on Jul 9, 2023
Forked from Hello VizHub

This example demonstrates how to load and display a simple text message using D3.js within a modular ES6 setup. The code imports the `select` function from D3 and a local `message` string from a separate module, then updates a `<div>` element’s text content on the page. It showcases both CDN-based library loading via UNPKG and local ES6 module imports, with styling applied through an external CSS file. No data visualization or rendering beyond this basic DOM manipulation is shown.

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