fresh block
✓ Published0🌍 Public
TTamayoValencia
Last edited Aug 11, 2018
Created on Aug 11, 2018
This example shows a small scatterplot of four people, mapping their age on the x-axis and height on the y-axis. The chart is rendered as an SVG with D3 v4, using `d3.scaleLinear` for both axes and `d3.axisBottom` and `d3.axisLeft` for tick marks. The data is hardcoded in an array of objects and drawn as circles via `g.selectAll(".point")` in a complete enter-update-exit pattern. The code uses `d3.select` (a typo for `d3.select`) to target the SVG element and appends axis groups manually. The plot includes a title and a playful caption in Spanish.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/john-guerra/'>john-guerra</a>'s block: <a href='http://bl.ocks.org/john-guerra/606739ac4cd7251f8e4df71e48abeaa2'>fresh block</a>
mit Licensed