Skip to main content
100%

Untitled

✓ Published0🌍 Public
Ppallavipawar2618
Last edited Feb 21, 2023
Created on Feb 21, 2023
Forked from Hello VizHub

This example renders a single red heart symbol composed of two curved paths and a vertical line, drawn inside an SVG element. The heart is defined in a `<defs>` block and reused via an `<use>` tag with the `xlink:href` attribute. It demonstrates basic SVG styling, including a red fill and black stroke, and is accompanied by a small D3 script that imports the `select` function to set text content in a separate div, alongside a local ES6 module exporting the message.

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