Skip to main content
Public

Share visualization

Loading preview…

Fork of Smiley Face Part II

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

Fork of Smiley Face Part II

0
GGregS1290
Last edited Oct 26, 2021
Created on Oct 25, 2021

This fork displays a smiley face visualization built with React and D3 v7, rendering the face as SVG circles with a yellow fill and black stroke. It loads CSS named colors data from a GitHub gist using `d3.csv`, then displays file size, row count, and column count via a custom message function that formats the CSV data with `d3.csvFormat`. The app uses React hooks (`useState`, `useEffect`) to fetch and manage the data asynchronously, while the commented-out SVG markup in the HTML provides the static fallback for the face shapes.

AI-generated description

Smiley face implementation with React.

Comments

Sign in to join the discussion.

MIT Licensed