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 with circular dots plotted against a linear scale, where both axes use a value range of 0 to 1. The visualization begins with a static rendering, but the dots respond to mouseover and mouseout events, changing color to red and scaling up briefly before returning to black. The code uses D3 v4 with `d3.scaleLinear`, `d3.line`, and `d3.axisBottom`/`d3.axisLeft` to generate the chart, while SVG circle elements handle the interactive hover behavior via `transition().duration(500)`. Data is randomly generated with `d3.randomUniform`, 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>

mit Licensed

Similar vizzes