Skip to main content
Public

Share visualization

Loading preview…

Loading and Parcing CSV using d3

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

Loading and Parcing CSV using d3

2
Mmukundakrishna.r@gmail.com
Last edited Mar 7, 2024
Created on Feb 28, 2024
Forked from Cat smiley

This example demonstrates loading and parsing a CSV file with the Fetch API, displaying file size, row count, and column count in a styled container. It then embeds an SVG image of smartphone sales data. The page uses vanilla JavaScript to fetch and split the CSV text, calculates the file size from response headers, and inserts the SVG via an `<img>` tag. Styling is handled with CSS, and the layout includes a header, details section, and footer.

AI-generated description

A whole smiley face

Comments

Sign in to join the discussion.

MIT Licensed