Skip to main content
100%

D3 Example

✓ Published0🌍 Public
AAlvaroMoro
Last edited Jul 20, 2018
Created on Jul 20, 2018

This example demonstrates a simple scatter plot where circular marks are placed on an SVG canvas based on data loaded from an external CSV file. The visualization shows how data points are bound to SVG circles, with their horizontal and vertical positions determined by the `x` and `y` properties of each data record. The code uses D3.js version 3.5.5, specifically the `d3.select`, `d3.csv`, and the `data`, `enter`, `update`, and `exit` selection methods to manage the circles. All circles are styled with a uniform teal fill (`#40E0D0`) and a fixed radius of 15 pixels, while the SVG viewport is set to 250 by 250 pixels. The rendering relies entirely on SVG elements.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/sandravizmad/'>sandravizmad</a>'s block: <a href='http://bl.ocks.org/sandravizmad/5a0b973556aa96cd1724b156b25cdeda'>Basic scatter plot</a>

mit Licensed

Similar vizzes