Skip to main content
100%

fresh block

✓ Published0🌍 Public
663anp3ca
Last edited Oct 31, 2018
Created on Oct 31, 2018

This example shows a simple line chart of 21 random data points, with each point represented as a circle. The visualization uses D3.js v4 to generate an SVG, with a black line connecting the dots and interactive hover effects that turn the circles red on mouseover and fade back to black on mouseout. The code applies the margin convention, scales the data with `d3.scaleLinear`, and uses the `d3.line` generator to draw the path. Axes are rendered with `d3.axisBottom` and `d3.axisLeft`, and the chart fills the browser window.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/ngocbien/'>ngocbien</a>'s block: <a href='http://bl.ocks.org/ngocbien/3a8e133db7aaa972f02daeef17196f89'>fresh block</a>

forked from <a href='http://bl.ocks.org/ngocbien/'>ngocbien</a>'s block: <a href='http://bl.ocks.org/ngocbien/1e6db6ef6ab977defeec116aba049211'>fresh block</a>

mit Licensed

Similar vizzes