Skip to main content
100%

Scatterplot

✓ Published0🌍 Public
Aandrewwitherspoon
Last edited Aug 22, 2017
Created on Jul 31, 2017

This scatterplot visualizes the relationship between Twitter and Facebook engagement scores for 24 news organizations, with each point labeled by company name. The chart uses D3 v3 with SVG rendering, employing `d3.tsv` to parse the data file and `d3.scale.linear` for x- and y-position encoding. `d3.scale.ordinal` assigns categorical colors, while `d3.extent` computes the axis domains and `d3.svg.axis` displays the axes. The code applies conventional margins and overlays text labels near each dot, though the color mapping relies on a `correlation` field not present in the provided data.

AI-generated description

This scatterplot is constructed from a TSV file storing the dimensions of sepals and petals of various iris flowers. The chart employs conventional margins and a number of D3 features:

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/3887118'>Scatterplot</a>

gpl-3.0 Licensed

Similar vizzes