You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
adopt the new classes for plot's big numbers (#554)
* adopt the new classes for plot's big numbers
* fix padding and color, the hard way
* Update examples/plot/docs/index.md
Co-authored-by: Mike Bostock <[email protected]>
* Update examples/plot/docs/index.md
Co-authored-by: Mike Bostock <[email protected]>
* quote attributes
* link not muted, fix slag
* Update examples/plot/docs/index.md
Co-authored-by: Mike Bostock <[email protected]>
* remove redundant client-side html generation
* a bit of clean-up in the google-analytics example
* add a gap class
* fix links
* remove .gap
* fix indentation, close div
* trend function
* Update examples/google-analytics/docs/index.md
Co-authored-by: Mike Bostock <[email protected]>
* Update examples/google-analytics/docs/index.md
Co-authored-by: Mike Bostock <[email protected]>
* Update examples/google-analytics/docs/index.md
Co-authored-by: Mike Bostock <[email protected]>
* Update examples/google-analytics/docs/index.md
Co-authored-by: Mike Bostock <[email protected]>
* Update examples/plot/docs/index.md
Co-authored-by: Mike Bostock <[email protected]>
* Update examples/plot/docs/index.md
Co-authored-by: Mike Bostock <[email protected]>
* Update examples/plot/docs/index.md
Co-authored-by: Mike Bostock <[email protected]>
* - trend as a (local) component
- adopt toLocaleString
* small
---------
Co-authored-by: Mike Bostock <[email protected]>
_Summary of metrics from the [Google Analytics Data API](https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-libraries), pulled on ${date(d3.max(summary, d => d.date))}_
${resize((width, height) => worldMap(countryData, {width, height, title: "Active users by country", caption: 'Current rolling 28-day active users by country', lookup: countryLookup}))}
310
311
</div>
311
-
<divclass="card grid-colspan-1 grid-rowspan-3">
312
-
${resize((width, height) => marrimekoChart(filteredChannelBreakdown, {width, height, metric:'active28d', title: 'New vs. returning users by channel', caption: 'Rolling 28-day active users by channel and split by new vs. returning', format: '%', yDim: 'channelGroup', xDim: 'type', color}))}
312
+
<divclass="card grid-rowspan-4">
313
+
${resize((width, height) => marrimekoChart(filteredChannelBreakdown, {width, height: height - 12, metric:'active28d', title: 'New vs. returning users by channel', caption: 'Rolling 28-day active users by channel and split by new vs. returning', format: '%', yDim: 'channelGroup', xDim: 'type', color}))}
Copy file name to clipboardExpand all lines: examples/plot/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The [`npm-downloads.csv.ts`](./docs/data/npm-downloads.csv.ts) loader retrieves
26
26
27
27
## Big numbers
28
28
29
-
Key performance indicators are displayed as “big numbers” with, in some cases, a trend indicating growth over one week. See the components/bigNumber.js file.
29
+
Key performance indicators are displayed as “big numbers” with, in some cases, a trend indicating growth over one week. Their layout is using the convenience CSS classes _big_, _red_ etc.
0 commit comments