Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_

Public visualization

Viewing a saved revision (read-only)

79565a9908684ef5b9a7a35c3891cfeb

Activity6_

0 stars0🌍 Public
PPothuguntla Pranitha
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Activity-6

This example presents a minimal D3.js application that demonstrates how to load the library via UNPKG and utilize its `select` API to set the text content of an HTML division. The visualization relies on local ES6 modules, including `myMessage.js`, which exports a simple greeting string rendered through the `d3.select` method. The static text output is styled using a CSS file, showcasing a straightforward integration of D3 with external styling and module imports.

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.