Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

RK7_reusable scatter plot

Public visualization

Viewing a saved revision (read-only)

6b4d2706ba374d728a8cc45e7591b0e1

RK7_reusable scatter plot

0 stars0🌍 Public
Ttelkapallyrekha@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

This example displays a reusable scatter plot of mobile phone data, showing units sold against price. It fetches a CSV file from a GitHub gist, parses the data, and renders the visualization using either Chart.js on a canvas element in the HTML version or a custom D3 module in the JavaScript version, which appends an SVG to the body. Both approaches map price to the x-axis and units sold to the y-axis, with the D3 version utilizing the `scatterPlot` module and CSV parsing functions from the D3 library.

AI-generated description