Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Bar with round bottom corners

Public visualization

Fork of Fork of Fork of Bar with round bottom corners

0 stars0🌍 Public
PPiotr Paszek
Last edited Feb 1, 2023
Created on Feb 1, 2023

This example draws a single SVG path with rounded bottom corners using D3 v5. The code computes corner radii and arc commands manually, handling both positive and negative heights. It loads D3 from UNPKG and uses `d3.select` to append the path to a container. The path is styled with a black stroke and no fill, and the script includes a commented-out local ES6 module import.

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.

Comments

Sign in to join the discussion.

MIT Licensed