This stacked area chart is constructed from a TSV file storing the market share of several popular web browsers over the last year. Data is from Clicky Web Analytics. The chart employs conventional margins and a number of D3 features:
- d3.tsv - load and parse data
- d3.timeFormat - parse dates
- d3.format - format percentages
- d3.scaleTime - x-position encoding
- d3.scaleLinear - y-position encoding
- d3.scaleOrdinal, d3.schemeCategory20 - color encoding
- d3.extent - compute domains
- d3.stack - compute stacked y-positions
- d3.axisBottom, d3.axisLeft - display axes
- d3.area - display area shape
forked from mbostock's block: Stacked Area Chart