Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 2 task 6

Public visualization

Viewing a saved revision (read-only)

abc8217baf28487c8fd430ba1a83e5bd

activity 2 task 6

0 stars0🌍 Public
Jjaideeptripurani12@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from task-2

This example demonstrates a minimal D3.js visualization that renders a text message centered on the page. It loads D3 from UNPKG and uses the `select` function to update the DOM content, while also importing a local ES6 module for the message string. The code includes a regular expression and a constant, though these do not affect the visible output. Styling is handled through an external CSS file that sets the text alignment and font size.

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.