Scatterplot - Health providers
This scatterplot displays the financial performance of 57 health-sector companies, plotting their 2016 growth against 2017 growth. Each company is represented by a dot colored by its industry type (pharmaceutical, medical device, health insurance, provider, drug supply chain, or other) using D3’s categorical color scale, with a label identifying the company name next to each point. The visualization uses linear scales for both axes, computes their domains from the data with d3.extent, and renders axes via d3.svg.axis. Data is loaded from a TSV file with d3.tsv, and circles are positioned using the 2016 and 2017 values.
AI-generated descriptionThis 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:
- d3.tsv - load and parse data
- d3.scale.linear - x- and y-position encoding
- d3.scale.ordinal - color encoding
- d3.extent - compute domains
- d3.svg.axis - display axes
forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/3887118'>Scatterplot</a>
forked from <a href='http://bl.ocks.org/andrewwitherspoon/'>andrewwitherspoon</a>'s block: <a href='http://bl.ocks.org/andrewwitherspoon/9b2d5684aad0cd5c5e9d731a4865e0f3'>Scatterplot</a>