Skip to main content
Public

Share visualization

Loading preview…

image of a cake

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

image of a cake

1
Ppreethimedipelli@my.unt.edu
Last edited Feb 23, 2025
Created on Feb 23, 2025

This example uses D3.js (v7) to draw a stylized strawberry cheesecake as a static SVG scene. The visualization layers a graham cracker crust, a creamy cheesecake filling, and a red strawberry glaze using SVG shapes like rectangles, ellipses, and circles, with green triangles for leaves and white circles for whipped cream. The code constructs the image procedurally by appending each element to the SVG canvas, using arrays to position repeated strawberries and cream dollops, and a curved path for chocolate drizzle. It serves as a playful, non-data-driven demonstration of D3's shape-drawing and layout capabilities.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed