Skip to main content
100%

fresh block

✓ Published0🌍 Public
TTylerVaughan
Last edited Feb 27, 2018
Created on Feb 27, 2018

This example presents two JavaScript practice problems embedded in a static HTML page, with no SVG or visual output. It shows a small array of four U.S. states and their populations, then asks the viewer to compute the mean population using the D3 v4 API’s `d3.mean()` method, and again without it. The code prints results to the browser’s developer console, and includes a minimal inline style for full-screen body margins. The data is hardcoded in the script, and the page uses only D3’s core utility function for the first calculation.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/TylerVaughan/'>TylerVaughan</a>'s block: <a href='http://bl.ocks.org/TylerVaughan/c30f540b6f57df162ecee25e1579784b'>fresh block</a>

forked from <a href='http://bl.ocks.org/TylerVaughan/'>TylerVaughan</a>'s block: <a href='http://bl.ocks.org/TylerVaughan/fbe6b841a209824d2b7a0387cc6a4a0a'>fresh block</a>

mit Licensed

Similar vizzes