@stealthscale/component-charts 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cyclonedx/bom.json +1 -1
- package/dist/index.js +1 -14710
- package/dist/pages/area-chart/area-chart.js +1151 -0
- package/dist/pages/area-chart/area-chart.props.js +3 -0
- package/dist/pages/bar-chart/bar-chart.js +990 -0
- package/dist/pages/bar-chart/bar-chart.props.js +3 -0
- package/dist/pages/box-plot/box-plot.js +1585 -0
- package/dist/pages/box-plot/box-plot.props.js +3 -0
- package/dist/pages/bubble-chart/bubble-chart.js +938 -0
- package/dist/pages/bubble-chart/bubble-chart.props.js +3 -0
- package/dist/pages/burndown-chart/burndown-chart.js +805 -0
- package/dist/pages/burndown-chart/burndown-chart.props.js +3 -0
- package/dist/pages/candlestick-chart/candlestick-chart.js +853 -0
- package/dist/pages/candlestick-chart/candlestick-chart.props.js +3 -0
- package/dist/pages/chart/chart.js +1190 -0
- package/dist/pages/chart/chart.props.js +3 -0
- package/dist/pages/chord-diagram/chord-diagram.js +891 -0
- package/dist/pages/chord-diagram/chord-diagram.props.js +3 -0
- package/dist/pages/combo-chart/combo-chart.js +873 -0
- package/dist/pages/combo-chart/combo-chart.props.js +3 -0
- package/dist/pages/distribution-chart/distribution-chart.js +1066 -0
- package/dist/pages/distribution-chart/distribution-chart.props.js +3 -0
- package/dist/pages/donut-chart/donut-chart.js +726 -0
- package/dist/pages/donut-chart/donut-chart.props.js +3 -0
- package/dist/pages/funnel-chart/funnel-chart.js +1094 -0
- package/dist/pages/funnel-chart/funnel-chart.props.js +3 -0
- package/dist/pages/gauge-chart/gauge-chart.js +767 -0
- package/dist/pages/gauge-chart/gauge-chart.props.js +3 -0
- package/dist/pages/heatmap/heatmap.js +1967 -0
- package/dist/pages/heatmap/heatmap.props.js +3 -0
- package/dist/pages/histogram-chart/histogram-chart.js +768 -0
- package/dist/pages/histogram-chart/histogram-chart.props.js +3 -0
- package/dist/pages/horizontal-bar-chart/horizontal-bar-chart.js +701 -0
- package/dist/pages/horizontal-bar-chart/horizontal-bar-chart.props.js +3 -0
- package/dist/pages/line-chart/line-chart.js +1882 -0
- package/dist/pages/line-chart/line-chart.props.js +3 -0
- package/dist/pages/pages.json +393 -0
- package/dist/pages/pareto-chart/pareto-chart.js +669 -0
- package/dist/pages/pareto-chart/pareto-chart.props.js +3 -0
- package/dist/pages/percent-stacked-bar/percent-stacked-bar.js +662 -0
- package/dist/pages/percent-stacked-bar/percent-stacked-bar.props.js +3 -0
- package/dist/pages/pie-chart/pie-chart.js +1007 -0
- package/dist/pages/pie-chart/pie-chart.props.js +3 -0
- package/dist/pages/polar-area-chart/polar-area-chart.js +812 -0
- package/dist/pages/polar-area-chart/polar-area-chart.props.js +3 -0
- package/dist/pages/radar-chart/radar-chart.js +1101 -0
- package/dist/pages/radar-chart/radar-chart.props.js +3 -0
- package/dist/pages/radial-bar-chart/radial-bar-chart.js +766 -0
- package/dist/pages/radial-bar-chart/radial-bar-chart.props.js +3 -0
- package/dist/pages/range-chart/range-chart.js +914 -0
- package/dist/pages/range-chart/range-chart.props.js +3 -0
- package/dist/pages/regression-overlay/regression-overlay.js +494 -0
- package/dist/pages/regression-overlay/regression-overlay.props.js +3 -0
- package/dist/pages/sankey-chart/sankey-chart.js +700 -0
- package/dist/pages/sankey-chart/sankey-chart.props.js +3 -0
- package/dist/pages/scatter-plot/scatter-plot.js +1248 -0
- package/dist/pages/scatter-plot/scatter-plot.props.js +3 -0
- package/dist/pages/sparkbar/sparkbar.js +629 -0
- package/dist/pages/sparkbar/sparkbar.props.js +3 -0
- package/dist/pages/sparkline/sparkline.js +960 -0
- package/dist/pages/sparkline/sparkline.props.js +3 -0
- package/dist/pages/spend-5xQ76WSj.js +185 -0
- package/dist/pages/stacked-area-chart/stacked-area-chart.js +912 -0
- package/dist/pages/stacked-area-chart/stacked-area-chart.props.js +3 -0
- package/dist/pages/stacked-bar-chart/stacked-bar-chart.js +722 -0
- package/dist/pages/stacked-bar-chart/stacked-bar-chart.props.js +3 -0
- package/dist/pages/step-line-chart/step-line-chart.js +573 -0
- package/dist/pages/step-line-chart/step-line-chart.props.js +3 -0
- package/dist/pages/stream-graph/stream-graph.js +1662 -0
- package/dist/pages/stream-graph/stream-graph.props.js +3 -0
- package/dist/pages/sunburst-chart/sunburst-chart.js +1051 -0
- package/dist/pages/sunburst-chart/sunburst-chart.props.js +3 -0
- package/dist/pages/timeline-chart/timeline-chart.js +1124 -0
- package/dist/pages/timeline-chart/timeline-chart.props.js +3 -0
- package/dist/pages/treemap-chart/treemap-chart.js +904 -0
- package/dist/pages/treemap-chart/treemap-chart.props.js +3 -0
- package/dist/pages/violin-plot/violin-plot.js +1303 -0
- package/dist/pages/violin-plot/violin-plot.props.js +3 -0
- package/dist/pages/visitors-oFFVcbIZ.js +248 -0
- package/dist/pages/waterfall-chart/waterfall-chart.js +1195 -0
- package/dist/pages/waterfall-chart/waterfall-chart.props.js +3 -0
- package/dist/shared-DVZJ2nST.js +14711 -0
- package/dist/theme.js +1 -1
- package/locales/en/specimen/area-chart.json +56 -0
- package/locales/en/specimen/bar-chart.json +56 -0
- package/locales/en/specimen/box-plot.json +65 -0
- package/locales/en/specimen/bubble-chart.json +47 -0
- package/locales/en/specimen/burndown-chart.json +46 -0
- package/locales/en/specimen/candlestick-chart.json +42 -0
- package/locales/en/specimen/chart.json +53 -0
- package/locales/en/specimen/chord-diagram.json +69 -0
- package/locales/en/specimen/combo-chart.json +41 -0
- package/locales/en/specimen/distribution-chart.json +47 -0
- package/locales/en/specimen/donut-chart.json +63 -0
- package/locales/en/specimen/funnel-chart.json +84 -0
- package/locales/en/specimen/gauge-chart.json +68 -0
- package/locales/en/specimen/heatmap.json +187 -0
- package/locales/en/specimen/histogram-chart.json +48 -0
- package/locales/en/specimen/horizontal-bar-chart.json +54 -0
- package/locales/en/specimen/line-chart.json +106 -0
- package/locales/en/specimen/pareto-chart.json +43 -0
- package/locales/en/specimen/percent-stacked-bar.json +37 -0
- package/locales/en/specimen/pie-chart.json +80 -0
- package/locales/en/specimen/polar-area-chart.json +90 -0
- package/locales/en/specimen/radar-chart.json +82 -0
- package/locales/en/specimen/radial-bar-chart.json +62 -0
- package/locales/en/specimen/range-chart.json +42 -0
- package/locales/en/specimen/regression-overlay.json +36 -0
- package/locales/en/specimen/sankey-chart.json +89 -0
- package/locales/en/specimen/scatter-plot.json +88 -0
- package/locales/en/specimen/sparkbar.json +51 -0
- package/locales/en/specimen/sparkline.json +70 -0
- package/locales/en/specimen/stacked-area-chart.json +44 -0
- package/locales/en/specimen/stacked-bar-chart.json +34 -0
- package/locales/en/specimen/step-line-chart.json +33 -0
- package/locales/en/specimen/stream-graph.json +54 -0
- package/locales/en/specimen/sunburst-chart.json +110 -0
- package/locales/en/specimen/timeline-chart.json +77 -0
- package/locales/en/specimen/treemap-chart.json +107 -0
- package/locales/en/specimen/violin-plot.json +54 -0
- package/locales/en/specimen/waterfall-chart.json +71 -0
- package/package.json +8 -7
- /package/dist/{recipe-BbGw00ut.js → recipes-BbGw00ut.js} +0 -0
package/dist/theme.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as recipe$1, t as recipe, u as recipe$2 } from "./
|
|
1
|
+
import { E as recipe$1, t as recipe, u as recipe$2 } from "./recipes-BbGw00ut.js";
|
|
2
2
|
import { definePreset } from "@stealthscale/theme/authoring";
|
|
3
3
|
//#endregion
|
|
4
4
|
const theme_default$published = ((preset) => {
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "A filled area per declared series over a category or time axis. The fill states that the amount under the line means something, such as a volume.",
|
|
3
|
+
"bandwidth": {
|
|
4
|
+
"about": "Inbound and outbound traffic over a day. Each area fades from its line to transparent at the axis, so each shows through the other.",
|
|
5
|
+
"caption": "Inbound traffic peaked at 310 Mb/s at 09:00. Outbound peaked three hours later.",
|
|
6
|
+
"inbound": "Inbound",
|
|
7
|
+
"label": "Bandwidth per hour",
|
|
8
|
+
"outbound": "Outbound",
|
|
9
|
+
"title": "Overlapping areas"
|
|
10
|
+
},
|
|
11
|
+
"busiest": {
|
|
12
|
+
"about": "defaultIndex opens the tooltip at the busiest hour when the chart first renders. The pointer or the arrow keys move it from there.",
|
|
13
|
+
"caption": "At 09:00 inbound traffic was 310 Mb/s and outbound 140 Mb/s.",
|
|
14
|
+
"title": "Tooltip"
|
|
15
|
+
},
|
|
16
|
+
"internal": {
|
|
17
|
+
"about": "defaultHiddenKeys hides replication traffic on the first render. Its name is struck through in the legend, and a press on it shows the area.",
|
|
18
|
+
"caption": "Replication between regions was under 60 Mb/s all day.",
|
|
19
|
+
"replication": "Replication",
|
|
20
|
+
"title": "Hidden series"
|
|
21
|
+
},
|
|
22
|
+
"narrow": {
|
|
23
|
+
"about": "The traffic in a room 20rem wide, the column of a phone. recharts shows every second time tick, so no two labels overlap.",
|
|
24
|
+
"title": "Narrow room"
|
|
25
|
+
},
|
|
26
|
+
"offline": {
|
|
27
|
+
"about": "A day without readings renders the empty state in the plot's place, and no legend.",
|
|
28
|
+
"caption": "Bandwidth per hour today.",
|
|
29
|
+
"empty": "No traffic recorded today.",
|
|
30
|
+
"title": "Empty"
|
|
31
|
+
},
|
|
32
|
+
"replay": {
|
|
33
|
+
"about": "animate reveals each area from the start of the axis to its end when the chart mounts, and Replay mounts the chart again. Under reduced motion recharts renders the areas at once.",
|
|
34
|
+
"replay": "Replay",
|
|
35
|
+
"title": "Animation"
|
|
36
|
+
},
|
|
37
|
+
"series": "Directions",
|
|
38
|
+
"storage": {
|
|
39
|
+
"about": "One series of storage in use at the start of each month, in the teal palette.",
|
|
40
|
+
"caption": "Storage in use grew by 330 GB since April, to 742 GB.",
|
|
41
|
+
"label": "Storage in use per month",
|
|
42
|
+
"title": "One area",
|
|
43
|
+
"used": "In use"
|
|
44
|
+
},
|
|
45
|
+
"title": "Area chart",
|
|
46
|
+
"zoom": {
|
|
47
|
+
"about": "A range Slider from the forms package picks the days the chart plots out of a year of rows. Each thumb is named, writes its date as its value text, and moves with the arrow keys, Page Up, Page Down, Home and End.",
|
|
48
|
+
"caption": "Weekday visitors grew from 3,900 to 6,448 over the year. They passed 10,500 in the launch week from August 27.",
|
|
49
|
+
"from": "From",
|
|
50
|
+
"label": "Visitors per day",
|
|
51
|
+
"range": "Days shown",
|
|
52
|
+
"title": "Zoom",
|
|
53
|
+
"to": "To",
|
|
54
|
+
"visitors": "Visitors"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "A bar per declared series side by side in each category. A bar is read by its length, so the value axis starts at zero.",
|
|
3
|
+
"crossover": {
|
|
4
|
+
"about": "defaultIndex opens the tooltip at September when the chart first renders, with the band behind the month. The pointer or the arrow keys move it from there.",
|
|
5
|
+
"caption": "In September Growth brought 158 sign-ups, Starter 152 and Scale 31.",
|
|
6
|
+
"title": "Tooltip"
|
|
7
|
+
},
|
|
8
|
+
"narrow": {
|
|
9
|
+
"about": "The sign-ups in a room 20rem wide, the column of a phone. Each month keeps its three bars, narrower, and all six month ticks fit.",
|
|
10
|
+
"title": "Narrow room"
|
|
11
|
+
},
|
|
12
|
+
"prelaunch": {
|
|
13
|
+
"about": "A range without rows renders the empty state in the plot's place, and no legend.",
|
|
14
|
+
"caption": "Sign-ups per plan per month.",
|
|
15
|
+
"empty": "No sign-ups in this period.",
|
|
16
|
+
"title": "Empty"
|
|
17
|
+
},
|
|
18
|
+
"refunds": {
|
|
19
|
+
"about": "grid={false} leaves out the grid lines, for a chart of a few bars whose ticks and tooltip give the values.",
|
|
20
|
+
"caption": "Refund requests peaked at 23 on Thursday and fell to 4 by Sunday.",
|
|
21
|
+
"label": "Refund requests per day",
|
|
22
|
+
"requests": "Requests",
|
|
23
|
+
"title": "Without grid"
|
|
24
|
+
},
|
|
25
|
+
"replay": {
|
|
26
|
+
"about": "animate grows each bar up from the axis when the chart mounts, and Replay mounts the chart again. Under reduced motion recharts renders the bars at once.",
|
|
27
|
+
"replay": "Replay",
|
|
28
|
+
"title": "Animation"
|
|
29
|
+
},
|
|
30
|
+
"series": "Plans",
|
|
31
|
+
"signups": {
|
|
32
|
+
"about": "Sign-ups per plan per month, three bars in each month, with the band under the pointer.",
|
|
33
|
+
"caption": "Growth sign-ups passed Starter in September, 158 to 152.",
|
|
34
|
+
"growth": "Growth",
|
|
35
|
+
"label": "Sign-ups per plan per month",
|
|
36
|
+
"scale": "Scale",
|
|
37
|
+
"starter": "Starter",
|
|
38
|
+
"title": "Grouped bars"
|
|
39
|
+
},
|
|
40
|
+
"targets": {
|
|
41
|
+
"about": "A series with target reads each month's target from the row's target field and marks it with a tick across the month's bar, in the ink with an edge in the panel's color. The tooltip writes the target after the value, and the key under the plot names the tick.",
|
|
42
|
+
"caption": "Sign-ups passed the month's target in four of six months and fell short in May and August.",
|
|
43
|
+
"label": "Sign-ups per month against the month's target",
|
|
44
|
+
"signups": "Sign-ups",
|
|
45
|
+
"target": "Target",
|
|
46
|
+
"title": "Against targets"
|
|
47
|
+
},
|
|
48
|
+
"title": "Bar chart",
|
|
49
|
+
"weekly": {
|
|
50
|
+
"about": "ratio=\"wide\" gives the plot the theme's wide ratio, for twelve weeks in a strip across a dashboard.",
|
|
51
|
+
"caption": "Weekly sign-ups rose from 212 in the week of July 6 to 334 in the week of September 21.",
|
|
52
|
+
"label": "Sign-ups per week",
|
|
53
|
+
"signups": "Sign-ups",
|
|
54
|
+
"title": "Wide ratio"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "The distribution of each group as its median, its middle half, its whiskers and its outliers, side by side. A key under the plot names the parts, and the tooltip writes a group's five numbers.",
|
|
3
|
+
"far": {
|
|
4
|
+
"about": "whisker 3 counts a value as an outlier only past 3 interquartile ranges from the box, the convention for far-out values. Frankfurt's 158 and 176ms join its whisker.",
|
|
5
|
+
"caption": "At 3 interquartile ranges, 5 requests remain outliers, 3 of them in Virginia.",
|
|
6
|
+
"title": "Far out"
|
|
7
|
+
},
|
|
8
|
+
"narrow": {
|
|
9
|
+
"about": "The four regions in a room 20rem wide, the column of a phone. Each box takes its share of the width, at most 72px.",
|
|
10
|
+
"title": "Narrow room"
|
|
11
|
+
},
|
|
12
|
+
"quiet": {
|
|
13
|
+
"about": "A box plot whose groups have no finite value renders the empty state in the plot's place, at the plot's ratio.",
|
|
14
|
+
"caption": "Response times of the checkout API by region this hour.",
|
|
15
|
+
"empty": "No requests this hour.",
|
|
16
|
+
"title": "Empty"
|
|
17
|
+
},
|
|
18
|
+
"regions": {
|
|
19
|
+
"about": "The response times of about 40 requests in each of four regions. Each whisker extends to the furthest request within 1.5 interquartile ranges of its box, and a request past it renders as a point. valueOptions writes the values in milliseconds.",
|
|
20
|
+
"amsterdam": "Amsterdam",
|
|
21
|
+
"caption": "Singapore's median of 165ms is more than twice Frankfurt's 61ms, and every region has requests past its upper whisker.",
|
|
22
|
+
"frankfurt": "Frankfurt",
|
|
23
|
+
"label": "Response times of the checkout API by region",
|
|
24
|
+
"singapore": "Singapore",
|
|
25
|
+
"title": "Response times",
|
|
26
|
+
"virginia": "Virginia"
|
|
27
|
+
},
|
|
28
|
+
"replay": {
|
|
29
|
+
"about": "animate grows each box from the axis when the chart mounts, and Replay mounts the chart again. Under reduced motion recharts renders the boxes at once.",
|
|
30
|
+
"replay": "Replay",
|
|
31
|
+
"title": "Animation"
|
|
32
|
+
},
|
|
33
|
+
"requests": "Requests",
|
|
34
|
+
"shipping": {
|
|
35
|
+
"about": "Delivery times in days for three shipping methods, the boxes in the teal palette's chart color. valueDomain fixes the axis at 0 to 12 days, so the chart of every week compares on one scale. This week's slowest order took 7.5 days, and the rounded axis would end at 8.",
|
|
36
|
+
"caption": "Express orders arrive in 1.5 days at the median, twice as fast as Standard.",
|
|
37
|
+
"economy": "Economy",
|
|
38
|
+
"express": "Express",
|
|
39
|
+
"label": "Delivery times by shipping method",
|
|
40
|
+
"orders": "Orders",
|
|
41
|
+
"standard": "Standard",
|
|
42
|
+
"title": "Delivery times"
|
|
43
|
+
},
|
|
44
|
+
"slowest": {
|
|
45
|
+
"about": "defaultIndex opens the tooltip at a group when the chart first renders. The heading is the group's name, and the rows are its median, middle half, whiskers, outliers and count.",
|
|
46
|
+
"caption": "Half of Singapore's requests take 141 to 199ms, and the slowest takes 388ms.",
|
|
47
|
+
"title": "Tooltip"
|
|
48
|
+
},
|
|
49
|
+
"tile": {
|
|
50
|
+
"about": "outliers false leaves out the points and legend false leaves out the key, for a tile on a page that explains the parts once. The tooltip still counts the outliers.",
|
|
51
|
+
"caption": "Singapore is the slowest region, and Frankfurt the fastest.",
|
|
52
|
+
"title": "Without points or key"
|
|
53
|
+
},
|
|
54
|
+
"title": "Box plot",
|
|
55
|
+
"warehouse": {
|
|
56
|
+
"about": "Each group passes the summary a warehouse query returned for a month of page loads, in place of millions of values. The chart's quartiles are type 7, the rule of SQL's PERCENTILE_CONT, so the query and the chart agree. The query returns the slowest loads as the outliers.",
|
|
57
|
+
"caption": "Half of all mobile loads paint after 2.4s, twice the desktop median.",
|
|
58
|
+
"desktop": "Desktop",
|
|
59
|
+
"label": "Largest contentful paint by device",
|
|
60
|
+
"loads": "Page loads",
|
|
61
|
+
"mobile": "Mobile",
|
|
62
|
+
"tablet": "Tablet",
|
|
63
|
+
"title": "Summaries from a query"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "A scatter whose points also show a third measure as their area. Recharts scales the area, not the radius, so a point twice the value is twice the ink. Readers judge area roughly, so the tooltip writes the value.",
|
|
3
|
+
"accounts": {
|
|
4
|
+
"about": "Seats against weekly active seats, each account sized by its annual recurring revenue. Each series lists its points largest first, so the small ones render on top.",
|
|
5
|
+
"active": "Weekly active",
|
|
6
|
+
"arr": "ARR",
|
|
7
|
+
"business": "Business",
|
|
8
|
+
"caption": "Business accounts use fewer of their seats: weekly activity falls to 43% at 200 seats, against 58% or more on every Team account.",
|
|
9
|
+
"label": "Weekly active seats by account size",
|
|
10
|
+
"seats": "Seats",
|
|
11
|
+
"team": "Team",
|
|
12
|
+
"title": "Two series"
|
|
13
|
+
},
|
|
14
|
+
"features": {
|
|
15
|
+
"about": "One series of features: adoption across accounts against the rating users give, each feature sized by its weekly users. yDomain runs the rating axis from 1 to 5, the scale the rating uses.",
|
|
16
|
+
"adoption": "Adoption",
|
|
17
|
+
"caption": "The best-rated feature, at 4.6, is adopted by only 29% of accounts.",
|
|
18
|
+
"features": "Features",
|
|
19
|
+
"label": "Rating by adoption per feature",
|
|
20
|
+
"rating": "Rating",
|
|
21
|
+
"title": "One series",
|
|
22
|
+
"users": "Weekly users"
|
|
23
|
+
},
|
|
24
|
+
"largest": {
|
|
25
|
+
"about": "defaultIndex opens the tooltip at the largest account when the chart first renders. The tooltip writes the size's value beside the two axes' values.",
|
|
26
|
+
"caption": "The largest account, €216K a year, uses 66% of its 240 seats weekly.",
|
|
27
|
+
"title": "Tooltip"
|
|
28
|
+
},
|
|
29
|
+
"narrow": {
|
|
30
|
+
"about": "The accounts in a room 20rem wide, the column of a phone. The points keep their areas, so they crowd more than on a wide plot.",
|
|
31
|
+
"title": "Narrow room"
|
|
32
|
+
},
|
|
33
|
+
"plans": "Plans",
|
|
34
|
+
"quiet": {
|
|
35
|
+
"about": "A chart without points renders the empty state in the plot's place, at the plot's ratio.",
|
|
36
|
+
"accounts": "Accounts",
|
|
37
|
+
"caption": "Weekly active seats by account size.",
|
|
38
|
+
"empty": "No accounts yet.",
|
|
39
|
+
"title": "Empty"
|
|
40
|
+
},
|
|
41
|
+
"replay": {
|
|
42
|
+
"about": "animate grows each point from its centre when the chart mounts, and Replay mounts the chart again. Under reduced motion recharts renders the points at once.",
|
|
43
|
+
"replay": "Replay",
|
|
44
|
+
"title": "Animation"
|
|
45
|
+
},
|
|
46
|
+
"title": "Bubble chart"
|
|
47
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "The work left per period against a straight ideal line, and the trend projected past the last reading. burndownFinish returns the period the projection falls to zero, which the caption states.",
|
|
3
|
+
"ahead": {
|
|
4
|
+
"about": "A sprint burning faster than the ideal line. The projection falls to zero before the sprint ends, and the chart plots it at zero after that.",
|
|
5
|
+
"label": "Checkout sprint burndown",
|
|
6
|
+
"title": "Ahead of plan"
|
|
7
|
+
},
|
|
8
|
+
"finish": "At the current rate the work runs out on day {{day}} of a {{days}}-day sprint.",
|
|
9
|
+
"ideal": "Ideal",
|
|
10
|
+
"narrow": {
|
|
11
|
+
"about": "The sprint in a room 20rem wide, the column of a phone.",
|
|
12
|
+
"title": "Narrow room"
|
|
13
|
+
},
|
|
14
|
+
"projected": "Projected",
|
|
15
|
+
"quiet": {
|
|
16
|
+
"about": "A sprint without periods renders the empty state in the plot's place, at the plot's ratio.",
|
|
17
|
+
"caption": "Remaining story points per day.",
|
|
18
|
+
"empty": "The sprint has not started.",
|
|
19
|
+
"title": "Empty"
|
|
20
|
+
},
|
|
21
|
+
"remaining": "Remaining",
|
|
22
|
+
"replay": {
|
|
23
|
+
"about": "animate reveals each line from the start of the axis when the chart mounts, and Replay mounts the chart again. Under reduced motion recharts renders the lines at once.",
|
|
24
|
+
"replay": "Replay",
|
|
25
|
+
"title": "Animation"
|
|
26
|
+
},
|
|
27
|
+
"scope": {
|
|
28
|
+
"about": "Work added mid-sprint turns the trend upward. A trend that does not fall has no finish, so the chart renders no projection and burndownFinish returns nothing.",
|
|
29
|
+
"caption": "8 points joined the sprint on September 16, so the remaining work is not falling and no finish is projected.",
|
|
30
|
+
"label": "Billing sprint burndown",
|
|
31
|
+
"title": "Scope added"
|
|
32
|
+
},
|
|
33
|
+
"series": "Series",
|
|
34
|
+
"sprint": {
|
|
35
|
+
"about": "Story points left at the end of each working day, read on the first seven. The ideal line runs from 60 to zero over the ten days, and the projection continues the trend from the last reading.",
|
|
36
|
+
"label": "Search sprint burndown",
|
|
37
|
+
"title": "Behind plan"
|
|
38
|
+
},
|
|
39
|
+
"stalled": "The remaining work is not falling, so no finish is projected.",
|
|
40
|
+
"title": "Burndown chart",
|
|
41
|
+
"today": {
|
|
42
|
+
"about": "defaultIndex opens the tooltip at the last reading when the chart first renders. The tooltip writes each line's value that day.",
|
|
43
|
+
"caption": "On September 22, 36 points remained against an ideal of 20.",
|
|
44
|
+
"title": "Tooltip"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "Each period's open, high, low and close as a body inside a wick, colored by whether the period closed above or below its open. The periods are spaced evenly, and the value axis leaves out zero.",
|
|
3
|
+
"busiest": {
|
|
4
|
+
"about": "defaultIndex opens the tooltip at a day when the chart first renders. The rows are the open, the high, the low, the close and the change with its sign and percentage.",
|
|
5
|
+
"caption": "ACME's largest day was September 25: it opened at $172.08 and closed 4.6% higher at $180.02.",
|
|
6
|
+
"title": "Tooltip"
|
|
7
|
+
},
|
|
8
|
+
"daily": {
|
|
9
|
+
"about": "The 22 trading days of September for one share. The body runs from the open to the close and the wick from the low to the high. A day that closed above its open takes the success palette's chart color, one that closed below it the error's. The weekends take no room, because the category axis is ordinal. labelOptions writes the days and valueOptions the dollars.",
|
|
10
|
+
"caption": "ACME rose 12.7% over September, from $156.22 to $176.03.",
|
|
11
|
+
"label": "Daily prices of ACME",
|
|
12
|
+
"title": "Daily prices"
|
|
13
|
+
},
|
|
14
|
+
"narrow": {
|
|
15
|
+
"about": "The month in a room 20rem wide, the column of a phone. Each candle takes its share of the width, at most 28px.",
|
|
16
|
+
"title": "Narrow room"
|
|
17
|
+
},
|
|
18
|
+
"opening": {
|
|
19
|
+
"about": "children renders recharts elements in the chart, here a dashed line at the month's opening price in the neutral palette's chart color.",
|
|
20
|
+
"caption": "ACME closed every day from September 3 above its September open of $156.22.",
|
|
21
|
+
"open": "September open",
|
|
22
|
+
"title": "Reference line"
|
|
23
|
+
},
|
|
24
|
+
"pair": {
|
|
25
|
+
"about": "A currency pair written to four decimals through valueOptions. The value axis steps by 1, 2, 2.5 or 5 times a power of ten around the rates and leaves zero out, because a rate is read for its movement. A day that closed at its open takes the neutral palette's chart color, and the key then names it.",
|
|
26
|
+
"caption": "The euro gained 1.3% on the dollar over September and closed September 14 where it opened.",
|
|
27
|
+
"label": "Daily rates of the euro in dollars",
|
|
28
|
+
"title": "Currency pair"
|
|
29
|
+
},
|
|
30
|
+
"quiet": {
|
|
31
|
+
"about": "A candlestick chart without a row that has four finite prices renders the empty state in the plot's place, at the plot's ratio.",
|
|
32
|
+
"caption": "Daily prices of ACME this week.",
|
|
33
|
+
"empty": "The market is closed this week.",
|
|
34
|
+
"title": "Empty"
|
|
35
|
+
},
|
|
36
|
+
"replay": {
|
|
37
|
+
"about": "animate grows each candle from the axis when the chart mounts, and Replay mounts the chart again. Under reduced motion recharts renders the candles at once.",
|
|
38
|
+
"replay": "Replay",
|
|
39
|
+
"title": "Animation"
|
|
40
|
+
},
|
|
41
|
+
"title": "Candlestick chart"
|
|
42
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "A figure around a recharts chart, with a tooltip, a legend that shows and hides series, a caption that states the finding, and an empty state. Each series takes its color from a hue or a palette of the theme.",
|
|
3
|
+
"latency": {
|
|
4
|
+
"about": "Hourly p95 latency against a 300ms target, which takes the error palette and a dashed line.",
|
|
5
|
+
"caption": "Latency passed the 300ms target between 12:00 and 14:00.",
|
|
6
|
+
"name": "p95 latency per hour",
|
|
7
|
+
"p95": "p95 latency",
|
|
8
|
+
"target": "Target",
|
|
9
|
+
"title": "Threshold"
|
|
10
|
+
},
|
|
11
|
+
"payouts": {
|
|
12
|
+
"about": "Paid and refunded payouts per day in euros. The ticks and the tooltip are written in the locale, and a press in the legend hides or shows a series.",
|
|
13
|
+
"caption": "Refunds rose to €1,250 on Thursday, a fifth of the day's payouts.",
|
|
14
|
+
"name": "Payouts per day",
|
|
15
|
+
"paid": "Paid",
|
|
16
|
+
"refunded": "Refunded",
|
|
17
|
+
"title": "Line"
|
|
18
|
+
},
|
|
19
|
+
"quiet": {
|
|
20
|
+
"about": "A chart without rows shows its empty state in the plot's place, at the plot's ratio.",
|
|
21
|
+
"caption": "Disputes per day over the last 7 days.",
|
|
22
|
+
"disputes": "Disputes",
|
|
23
|
+
"empty": "No disputes in the last 7 days.",
|
|
24
|
+
"name": "Disputes per day",
|
|
25
|
+
"title": "Empty"
|
|
26
|
+
},
|
|
27
|
+
"ratio": {
|
|
28
|
+
"about": "The plot's aspect ratio from the theme's scale, which gives recharts a height to measure.",
|
|
29
|
+
"title": "Ratios"
|
|
30
|
+
},
|
|
31
|
+
"series": "Series",
|
|
32
|
+
"signups": {
|
|
33
|
+
"about": "Sign-ups per plan per month as stacked bars, each plan in the hue its series states.",
|
|
34
|
+
"caption": "Sign-ups grew every month. The Growth plan took 38% of September's.",
|
|
35
|
+
"growth": "Growth",
|
|
36
|
+
"name": "Sign-ups per plan",
|
|
37
|
+
"scale": "Scale",
|
|
38
|
+
"starter": "Starter",
|
|
39
|
+
"title": "Stacked bars"
|
|
40
|
+
},
|
|
41
|
+
"storage": {
|
|
42
|
+
"about": "Storage per kind of file as a donut. Each sector is a series, so the legend shows and hides sectors.",
|
|
43
|
+
"archives": "Archives",
|
|
44
|
+
"caption": "Video takes 60% of the 195.5 GB in use.",
|
|
45
|
+
"documents": "Documents",
|
|
46
|
+
"images": "Images",
|
|
47
|
+
"legend": "Kinds of file",
|
|
48
|
+
"name": "Storage per kind of file",
|
|
49
|
+
"title": "Donut",
|
|
50
|
+
"video": "Video"
|
|
51
|
+
},
|
|
52
|
+
"title": "Chart"
|
|
53
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "Flows between peers around a circle, such as calls between services. Each node is an arc as long as what it sends, and each pair of nodes is one ribbon whose two ends are as wide as the two directions. A ribbon takes the color of the node that sends more. The readout in the middle of the ring writes what an arc's node sends and receives, and both directions of a ribbon. The arrow keys walk each arc, then the ribbons that start on it. A chord diagram shows the flows a sankey leaves out: flows both ways and flows around a loop.",
|
|
3
|
+
"audit": {
|
|
4
|
+
"about": "Three services write to an audit log that calls nobody. An arc is as long as what its node sends, so the audit log's arc has no length and its ribbons end in points. defaultIndex opens the readout at its arc, the last mark of the walk, which writes the calls it receives.",
|
|
5
|
+
"caption": "The {{name}} log receives {{received, number}} calls and sends none.",
|
|
6
|
+
"label": "Calls between services and the audit log",
|
|
7
|
+
"title": "A node that only receives"
|
|
8
|
+
},
|
|
9
|
+
"in": "Received",
|
|
10
|
+
"internal": {
|
|
11
|
+
"about": "jobs requeues its own work, a flow from a node to itself. The chart renders it as a ribbon from the jobs arc back to itself, and the readout writes it as jobs → jobs.",
|
|
12
|
+
"caption": "{{name}} calls itself {{calls, number}} times, more than it calls any other service.",
|
|
13
|
+
"label": "Calls between services, calls to itself included",
|
|
14
|
+
"title": "A flow to itself"
|
|
15
|
+
},
|
|
16
|
+
"layout": {
|
|
17
|
+
"about": "chordLayout returns the arcs and the ribbons the chart renders, in radians from 12 o'clock. The caption reads the first arc's share of all the arcs from it, which is its service's share of every call sent.",
|
|
18
|
+
"caption": "The {{name}} arc is {{share}} of the ring's arcs, its share of every call sent.",
|
|
19
|
+
"title": "The exported layout"
|
|
20
|
+
},
|
|
21
|
+
"migration": {
|
|
22
|
+
"about": "A decade of moves between four regions. Every pair moves both ways, and each ribbon takes the color of the region that sends more, so the ribbons into North are in the colors of South and East. inflowLabel and outflowLabel name the readout's rows.",
|
|
23
|
+
"caption": "{{name}} gained {{gained, number}} people over the decade.",
|
|
24
|
+
"in": "Arrived",
|
|
25
|
+
"label": "Moves between regions over the decade",
|
|
26
|
+
"out": "Left",
|
|
27
|
+
"title": "The color is the net direction"
|
|
28
|
+
},
|
|
29
|
+
"names": {
|
|
30
|
+
"api": "api",
|
|
31
|
+
"audit": "audit",
|
|
32
|
+
"auth": "auth",
|
|
33
|
+
"billing": "billing",
|
|
34
|
+
"east": "East",
|
|
35
|
+
"jobs": "jobs",
|
|
36
|
+
"north": "North",
|
|
37
|
+
"search": "search",
|
|
38
|
+
"south": "South",
|
|
39
|
+
"west": "West"
|
|
40
|
+
},
|
|
41
|
+
"narrow": {
|
|
42
|
+
"about": "The calls in a room 20rem wide, the column of a phone. The ring shrinks, and a name that would leave the plot or meet an earlier name is hidden, while the readout still names its arc.",
|
|
43
|
+
"title": "Narrow room"
|
|
44
|
+
},
|
|
45
|
+
"out": "Sent",
|
|
46
|
+
"pair": {
|
|
47
|
+
"about": "defaultIndex opens the readout at the second mark of the walk, the ribbon between api and auth, when the chart first renders. The ribbon lifts, the other marks fade, and the readout in the middle of the ring writes both directions of the pair.",
|
|
48
|
+
"caption": "api calls auth {{there, number}} times, and auth calls api {{back, number}} times.",
|
|
49
|
+
"title": "Readout"
|
|
50
|
+
},
|
|
51
|
+
"palette": {
|
|
52
|
+
"about": "Each service states its palette: api teal, auth purple, billing orange, search pink. jobs takes the next series color, and each ribbon takes the color of the service that sends more.",
|
|
53
|
+
"caption": "Six pairs of services call each other, all of them both ways.",
|
|
54
|
+
"title": "Palettes"
|
|
55
|
+
},
|
|
56
|
+
"quiet": {
|
|
57
|
+
"about": "A chord diagram without flows renders the empty state in the plot's place, at the plot's ratio.",
|
|
58
|
+
"caption": "Calls between services in the last hour.",
|
|
59
|
+
"empty": "No calls in this hour.",
|
|
60
|
+
"title": "Empty"
|
|
61
|
+
},
|
|
62
|
+
"services": {
|
|
63
|
+
"about": "An hour of calls between five services. Every pair that calls calls both ways, which a sankey leaves out as loops. Each arc is as long as the calls its service sends, and each ribbon is wider at the service that sends more. flowBalance returns each service's calls sent and received, and the caption names the service that sends the most.",
|
|
64
|
+
"caption": "{{name}} sends the most calls, {{sent, number}}, and receives {{received, number}}.",
|
|
65
|
+
"label": "Calls between services in the last hour",
|
|
66
|
+
"title": "Calls between services"
|
|
67
|
+
},
|
|
68
|
+
"title": "Chord diagram"
|
|
69
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "Bars, lines and areas on one plot, each series in the mark it states. A series in another unit reads a second value axis at the plot's end edge, which renders while a series asks for it.",
|
|
3
|
+
"narrow": {
|
|
4
|
+
"about": "The revenue and margin chart in a room 20rem wide, the column of a phone. Both value axes measure their widest tick.",
|
|
5
|
+
"title": "Narrow room"
|
|
6
|
+
},
|
|
7
|
+
"orders": {
|
|
8
|
+
"about": "Daily orders as bars and their 7-day average as a line, both on one value axis because they share a unit. The average starts on the seventh day, the first with a full week behind it.",
|
|
9
|
+
"average": "7-day average",
|
|
10
|
+
"caption": "Orders dip every weekend. The 7-day average rose from 402 to 414 orders a day.",
|
|
11
|
+
"label": "Orders per day",
|
|
12
|
+
"orders": "Orders",
|
|
13
|
+
"title": "One value axis"
|
|
14
|
+
},
|
|
15
|
+
"peak": {
|
|
16
|
+
"about": "defaultIndex opens the tooltip at a month when the chart first renders. The tooltip writes the revenue in euros and the margin as a percentage, each with its own axis' options.",
|
|
17
|
+
"caption": "September's revenue of €254K was the year's highest, at a 62% gross margin.",
|
|
18
|
+
"title": "Tooltip"
|
|
19
|
+
},
|
|
20
|
+
"quiet": {
|
|
21
|
+
"about": "A range without rows renders the empty state in the plot's place, at the plot's ratio.",
|
|
22
|
+
"caption": "Revenue and gross margin per month.",
|
|
23
|
+
"empty": "No revenue booked yet this year.",
|
|
24
|
+
"title": "Empty"
|
|
25
|
+
},
|
|
26
|
+
"replay": {
|
|
27
|
+
"about": "animate grows each bar from its base and reveals the line from the start of the axis when the chart mounts, and Replay mounts the chart again. Under reduced motion recharts renders the marks at once.",
|
|
28
|
+
"replay": "Replay",
|
|
29
|
+
"title": "Animation"
|
|
30
|
+
},
|
|
31
|
+
"revenue": {
|
|
32
|
+
"about": "Monthly revenue in euros as bars on the start axis, and gross margin as a line on an end axis from 0 to 100%. axis=\"end\" puts a series on the end axis, and endOptions writes its ticks.",
|
|
33
|
+
"caption": "Revenue rose from €182K in January to €254K in September. Gross margin fell to 55% in June and recovered to 62%.",
|
|
34
|
+
"label": "Revenue and gross margin per month",
|
|
35
|
+
"margin": "Gross margin",
|
|
36
|
+
"revenue": "Revenue",
|
|
37
|
+
"title": "Two value axes"
|
|
38
|
+
},
|
|
39
|
+
"series": "Series",
|
|
40
|
+
"title": "Combo chart"
|
|
41
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "Two or more distributions on one set of bins chosen from every series' values together, with each series' bar beside the others in every bin. normalize compares series of different sizes as shares.",
|
|
3
|
+
"busiest": {
|
|
4
|
+
"about": "defaultIndex opens the tooltip at a bin when the chart first renders. The heading is the bin's range, and each row is a series' count.",
|
|
5
|
+
"caption": "22 North deliveries and 2 South deliveries took 2 to 2.5 days.",
|
|
6
|
+
"title": "Tooltip"
|
|
7
|
+
},
|
|
8
|
+
"hidden": {
|
|
9
|
+
"about": "defaultHiddenKeys hides South when the chart first renders, and North's bars take each bin's whole width. A press on South in the legend shows it again.",
|
|
10
|
+
"caption": "Most of North's deliveries arrive within 3 days.",
|
|
11
|
+
"title": "Hidden series"
|
|
12
|
+
},
|
|
13
|
+
"narrow": {
|
|
14
|
+
"about": "The two regions in a room 20rem wide, the column of a phone.",
|
|
15
|
+
"title": "Narrow room"
|
|
16
|
+
},
|
|
17
|
+
"quiet": {
|
|
18
|
+
"about": "A distribution chart whose series have no finite value renders the empty state in the plot's place, at the plot's ratio.",
|
|
19
|
+
"caption": "Delivery times this week.",
|
|
20
|
+
"empty": "No deliveries this week.",
|
|
21
|
+
"title": "Empty"
|
|
22
|
+
},
|
|
23
|
+
"regions": {
|
|
24
|
+
"about": "Delivery times in two regions, counted together into half-day bins, so the bars of North and South start at the same edges. The legend hides and shows a region.",
|
|
25
|
+
"caption": "58 of 90 North deliveries arrive within 3 days, against 8 of 70 in South.",
|
|
26
|
+
"label": "Delivery times by region",
|
|
27
|
+
"north": "North",
|
|
28
|
+
"regions": "Regions",
|
|
29
|
+
"south": "South",
|
|
30
|
+
"title": "Two regions"
|
|
31
|
+
},
|
|
32
|
+
"replay": {
|
|
33
|
+
"about": "animate grows each bar from the axis when the chart mounts, and Replay mounts the chart again. Under reduced motion recharts renders the bars at once.",
|
|
34
|
+
"replay": "Replay",
|
|
35
|
+
"title": "Animation"
|
|
36
|
+
},
|
|
37
|
+
"sessions": {
|
|
38
|
+
"about": "normalize counts each bin as a share of its own plan's sessions, so 120 free sessions and 30 paid ones compare, and the value axis reads in percent.",
|
|
39
|
+
"caption": "Three in four Free sessions end within 10 minutes, against one in ten Pro sessions.",
|
|
40
|
+
"free": "Free",
|
|
41
|
+
"label": "Session lengths by plan",
|
|
42
|
+
"plans": "Plans",
|
|
43
|
+
"pro": "Pro",
|
|
44
|
+
"title": "Shares of each series"
|
|
45
|
+
},
|
|
46
|
+
"title": "Distribution chart"
|
|
47
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "The parts of one whole as a ring, largest first from 12 o'clock, with a figure such as the total in the hole. Everything the pie chart does applies.",
|
|
3
|
+
"incidents": {
|
|
4
|
+
"about": "maxSlices={4} gathers the three smallest causes into one slice named by otherLabel, and the hole counts every incident.",
|
|
5
|
+
"capacity": "Capacity",
|
|
6
|
+
"caption": "Deploys caused 14 of the 35 incidents this quarter, 40%.",
|
|
7
|
+
"center": "incidents",
|
|
8
|
+
"certificate": "Certificate",
|
|
9
|
+
"dependency": "Dependency",
|
|
10
|
+
"deploy": "Deploy",
|
|
11
|
+
"dns": "DNS",
|
|
12
|
+
"label": "Incidents per cause this quarter",
|
|
13
|
+
"legend": "Causes",
|
|
14
|
+
"network": "Network",
|
|
15
|
+
"other": "Other causes",
|
|
16
|
+
"title": "Long tail"
|
|
17
|
+
},
|
|
18
|
+
"largest": {
|
|
19
|
+
"about": "defaultIndex opens the tooltip at the largest slice when the chart first renders. The pointer or the arrow keys move it from slice to slice.",
|
|
20
|
+
"caption": "Video's 118 GB are 60% of the storage in use.",
|
|
21
|
+
"title": "Tooltip"
|
|
22
|
+
},
|
|
23
|
+
"narrow": {
|
|
24
|
+
"about": "The storage in a room 20rem wide, the column of a phone. The ring scales down with the room, and the total is written in the hole.",
|
|
25
|
+
"title": "Narrow room"
|
|
26
|
+
},
|
|
27
|
+
"replay": {
|
|
28
|
+
"about": "animate grows the ring from 12 o'clock when the chart mounts, and Replay mounts the chart again. Under reduced motion recharts renders the ring at once.",
|
|
29
|
+
"replay": "Replay",
|
|
30
|
+
"title": "Animation"
|
|
31
|
+
},
|
|
32
|
+
"share": {
|
|
33
|
+
"about": "The hole shows the largest share in place of a total. The chart does not compute the figure, so the caller states what it is.",
|
|
34
|
+
"caption": "Starter has 47% of the 1,300 customers.",
|
|
35
|
+
"center": "47%",
|
|
36
|
+
"centerLabel": "on Starter",
|
|
37
|
+
"growth": "Growth",
|
|
38
|
+
"label": "Customers per plan",
|
|
39
|
+
"legend": "Plans",
|
|
40
|
+
"scale": "Scale",
|
|
41
|
+
"starter": "Starter",
|
|
42
|
+
"title": "Largest share in the hole"
|
|
43
|
+
},
|
|
44
|
+
"title": "Donut chart",
|
|
45
|
+
"unused": {
|
|
46
|
+
"about": "A chart without slices renders the empty state in the plot's place, and no legend or figure in the middle.",
|
|
47
|
+
"caption": "Storage per kind of file.",
|
|
48
|
+
"empty": "No files stored yet.",
|
|
49
|
+
"title": "Empty"
|
|
50
|
+
},
|
|
51
|
+
"usage": {
|
|
52
|
+
"about": "Storage per kind of file with the total in the hole, which the example sums and writes in the page's language.",
|
|
53
|
+
"archives": "Archives",
|
|
54
|
+
"caption": "Video takes 60% of the 195.5 GB in use.",
|
|
55
|
+
"center": "in use",
|
|
56
|
+
"documents": "Documents",
|
|
57
|
+
"images": "Images",
|
|
58
|
+
"label": "Storage per kind of file",
|
|
59
|
+
"legend": "Kinds of file",
|
|
60
|
+
"title": "Total in the hole",
|
|
61
|
+
"video": "Video"
|
|
62
|
+
}
|
|
63
|
+
}
|