Skip to main content
100%

Fork of ICE-7 Scatter plot

✓ Published0🌍 Public
Rrohithannadurai@my.unt.edu
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from ICE-7 Scatter plot

This example presents a scatter plot of movie budget versus revenue, sourced from a CSV file fetched via a Gist URL. The visualization maps budget on the x-axis and revenue on the y-axis, with each point represented by a blue, semi-transparent circle. The chart’s axes are scaled to include a 10% buffer above the maximum values for clarity. Built with D3.js v7, the code uses `d3.csvParse` to parse the data, `d3.scaleLinear` for axis scaling, `d3.axisBottom` and `d3.axisLeft` to render the axes, and appends SVG circles within a `#scatterplot` div.

AI-generated description
MIT Licensed

Similar vizzes