Skip to main content
Public

Share visualization

Loading preview…

Fork of Script Test

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 Script Test

0
BBALAJI MANDAVA
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from Script Test

This example displays a scatter plot of Amazon book data, plotting user ratings against review counts for a random subset of 50 books. The visualization uses D3 v7 to draw circles on an SVG, with axes labeled and scaled linearly. The code defines a reusable `scatterPlot` function that generates the chart, and it loads data from a remote CSV file before randomly sampling the dataset. The chart uses D3's axis generators and scale linear functions to map the data values to pixel coordinates.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed