This example shows a few interesting techniques with D3:
- Stock prices in CSV format are loaded asynchronously.
- Stock prices are nested by symbol.
- The x-scale is the minimum and maximum across symbols. (Note Google’s IPO.)
- The y-scale is local to each symbol; the domain is set per multiple.
- Area and line shapes are used to fill and stroke separately.
Two alternative approaches to small multiples include using selection.each to create a scope and binding local scales to each multiple.