@cdc/chart 4.22.11 → 4.23.2
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/cdcchart.js +54569 -16
- package/examples/Barchart_with_negative.json +34 -0
- package/examples/box-plot-data.json +71 -0
- package/examples/box-plot.csv +5 -0
- package/examples/box-plot.json +124 -0
- package/examples/dynamic-legends.json +1 -1
- package/examples/example-bar-chart-nonnumeric.json +36 -0
- package/examples/example-bar-chart.json +33 -0
- package/examples/example-combo-bar-nonnumeric.json +105 -0
- package/examples/gallery/bar-chart-vertical/combo-line-chart.json +3 -1
- package/examples/gallery/bar-chart-vertical/vertical-bar-chart-categorical.json +1 -1
- package/examples/gallery/bar-chart-vertical/vertical-bar-chart.json +86 -17
- package/examples/gallery/paired-bar/paired-bar-chart.json +65 -13
- package/examples/line-chart-nonnumeric.json +32 -0
- package/examples/line-chart.json +21 -63
- package/examples/new-data.csv +17 -0
- package/examples/newdata.json +90 -0
- package/examples/planet-combo-example-config.json +143 -20
- package/examples/planet-example-data-nonnumeric.json +56 -0
- package/examples/planet-example-data.json +2 -2
- package/examples/planet-pie-example-config-nonnumeric.json +30 -0
- package/examples/scatterplot-continuous.csv +17 -0
- package/examples/{private/yaxis-test.json → scatterplot.json} +53 -50
- package/examples/sparkline-chart-nonnumeric.json +76 -0
- package/examples/stacked-vertical-bar-example-negative.json +154 -0
- package/examples/stacked-vertical-bar-example-nonnumerics.json +154 -0
- package/{src/index.html → index.html} +18 -11
- package/package.json +29 -22
- package/src/{CdcChart.tsx → CdcChart.jsx} +193 -119
- package/src/components/BarChart.jsx +517 -0
- package/src/components/BoxPlot.jsx +88 -0
- package/src/components/{DataTable.tsx → DataTable.jsx} +125 -32
- package/src/components/{EditorPanel.js → EditorPanel.jsx} +376 -115
- package/src/components/Filters.jsx +125 -0
- package/src/components/Legend.jsx +303 -0
- package/src/components/{LineChart.tsx → LineChart.jsx} +87 -22
- package/src/components/{LinearChart.tsx → LinearChart.jsx} +172 -113
- package/src/components/{PairedBarChart.tsx → PairedBarChart.jsx} +46 -79
- package/src/components/{PieChart.tsx → PieChart.jsx} +29 -34
- package/src/components/ScatterPlot.jsx +48 -0
- package/src/components/{SparkLine.js → SparkLine.jsx} +49 -18
- package/src/components/useIntersectionObserver.jsx +29 -0
- package/src/data/initial-state.js +44 -8
- package/src/hooks/{useColorPalette.ts → useColorPalette.js} +10 -28
- package/src/hooks/{useReduceData.ts → useReduceData.js} +27 -13
- package/src/hooks/useRightAxis.js +3 -1
- package/src/index.jsx +16 -0
- package/src/scss/DataTable.scss +23 -1
- package/src/scss/main.scss +83 -32
- package/vite.config.js +4 -0
- package/examples/private/filters.json +0 -170
- package/examples/private/line-test-data.json +0 -22
- package/examples/private/line-test-two.json +0 -210
- package/examples/private/line-test.json +0 -102
- package/examples/private/new.json +0 -48800
- package/examples/private/newtest.csv +0 -101
- package/examples/private/shawn.json +0 -1106
- package/examples/private/test.json +0 -10124
- package/examples/private/yaxis-testing.csv +0 -27
- package/examples/private/yaxis.json +0 -28
- package/src/components/BarChart.tsx +0 -579
- package/src/components/Legend.js +0 -284
- package/src/components/useIntersectionObserver.tsx +0 -27
- package/src/index.tsx +0 -18
- /package/src/{context.tsx → ConfigContext.jsx} +0 -0
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
,epi_date,count,14-day Moving Daily Average
|
|
2
|
-
1,5/17/2022,1,
|
|
3
|
-
2,5/19/2022,1,
|
|
4
|
-
3,5/20/2022,1,
|
|
5
|
-
4,5/21/2022,2,
|
|
6
|
-
5,5/22/2022,2,
|
|
7
|
-
6,5/23/2022,3,
|
|
8
|
-
7,5/24/2022,1,
|
|
9
|
-
8,5/25/2022,2,
|
|
10
|
-
9,5/26/2022,1,
|
|
11
|
-
10,5/27/2022,3,
|
|
12
|
-
11,5/29/2022,1,
|
|
13
|
-
12,5/30/2022,1,
|
|
14
|
-
13,5/31/2022,7,
|
|
15
|
-
14,6/1/2022,2,2
|
|
16
|
-
15,6/2/2022,5,2.076923077
|
|
17
|
-
16,6/3/2022,5,2.384615385
|
|
18
|
-
17,6/4/2022,1,2.692307692
|
|
19
|
-
18,6/5/2022,1,2.615384615
|
|
20
|
-
19,6/6/2022,8,2.538461538
|
|
21
|
-
20,6/7/2022,5,2.923076923
|
|
22
|
-
21,6/8/2022,9,3.230769231
|
|
23
|
-
22,6/9/2022,6,3.769230769
|
|
24
|
-
23,6/10/2022,11,4.153846154
|
|
25
|
-
24,6/11/2022,6,4.769230769
|
|
26
|
-
25,6/12/2022,4,5.153846154
|
|
27
|
-
26,6/13/2022,13,5.384615385
|
|
28
|
-
27,6/14/2022,19,5.846153846
|
|
29
|
-
28,6/15/2022,15,7.153846154
|
|
30
|
-
29,6/16/2022,21,7.923076923
|
|
31
|
-
30,6/17/2022,15,9.153846154
|
|
32
|
-
31,6/18/2022,11,10.23076923
|
|
33
|
-
32,6/19/2022,5,11
|
|
34
|
-
33,6/20/2022,10,10.76923077
|
|
35
|
-
34,6/21/2022,12,11.15384615
|
|
36
|
-
35,6/22/2022,19,11.38461538
|
|
37
|
-
36,6/23/2022,27,12.38461538
|
|
38
|
-
37,6/24/2022,46,13.61538462
|
|
39
|
-
38,6/25/2022,19,16.69230769
|
|
40
|
-
39,6/26/2022,10,17.84615385
|
|
41
|
-
40,6/27/2022,64,17.61538462
|
|
42
|
-
41,6/28/2022,53,21.07692308
|
|
43
|
-
42,6/29/2022,60,24
|
|
44
|
-
43,6/30/2022,76,27
|
|
45
|
-
44,7/1/2022,89,31.69230769
|
|
46
|
-
45,7/2/2022,45,37.69230769
|
|
47
|
-
46,7/3/2022,41,40.76923077
|
|
48
|
-
47,7/4/2022,57,43.15384615
|
|
49
|
-
48,7/5/2022,97,46.61538462
|
|
50
|
-
49,7/6/2022,120,52.61538462
|
|
51
|
-
50,7/7/2022,110,59.76923077
|
|
52
|
-
51,7/8/2022,161,64.69230769
|
|
53
|
-
52,7/9/2022,101,75.61538462
|
|
54
|
-
53,7/10/2022,71,82.61538462
|
|
55
|
-
54,7/11/2022,216,83.15384615
|
|
56
|
-
55,7/12/2022,216,95.69230769
|
|
57
|
-
56,7/13/2022,217,107.6923077
|
|
58
|
-
57,7/14/2022,238,118.5384615
|
|
59
|
-
58,7/15/2022,254,130
|
|
60
|
-
59,7/16/2022,167,146.0769231
|
|
61
|
-
60,7/17/2022,100,155.7692308
|
|
62
|
-
61,7/18/2022,321,159.0769231
|
|
63
|
-
62,7/19/2022,266,176.3076923
|
|
64
|
-
63,7/20/2022,264,187.5384615
|
|
65
|
-
64,7/21/2022,238,199.3846154
|
|
66
|
-
65,7/22/2022,348,205.3076923
|
|
67
|
-
66,7/23/2022,192,224.3076923
|
|
68
|
-
67,7/24/2022,103,233.6153846
|
|
69
|
-
68,7/25/2022,423,224.9230769
|
|
70
|
-
69,7/26/2022,368,240.8461538
|
|
71
|
-
70,7/27/2022,492,252.4615385
|
|
72
|
-
71,7/28/2022,364,272
|
|
73
|
-
72,7/29/2022,404,280.4615385
|
|
74
|
-
73,7/30/2022,238,298.6923077
|
|
75
|
-
74,7/31/2022,164,309.3076923
|
|
76
|
-
75,8/1/2022,534,297.2307692
|
|
77
|
-
76,8/2/2022,461,317.8461538
|
|
78
|
-
77,8/3/2022,516,333
|
|
79
|
-
78,8/4/2022,492,354.3846154
|
|
80
|
-
79,8/5/2022,424,365.4615385
|
|
81
|
-
80,8/6/2022,192,383.3076923
|
|
82
|
-
81,8/7/2022,154,390.1538462
|
|
83
|
-
82,8/8/2022,773,369.4615385
|
|
84
|
-
83,8/9/2022,486,400.6153846
|
|
85
|
-
84,8/10/2022,663,400.1538462
|
|
86
|
-
85,8/11/2022,391,423.1538462
|
|
87
|
-
86,8/12/2022,392,422.1538462
|
|
88
|
-
87,8/13/2022,217,434
|
|
89
|
-
88,8/14/2022,136,438.0769231
|
|
90
|
-
89,8/15/2022,705,407.4615385
|
|
91
|
-
90,8/16/2022,338,426.2307692
|
|
92
|
-
91,8/17/2022,455,412.5384615
|
|
93
|
-
92,8/18/2022,368,409.6923077
|
|
94
|
-
93,8/19/2022,386,405.3846154
|
|
95
|
-
94,8/20/2022,95,420.3076923
|
|
96
|
-
95,8/21/2022,54,415.7692308
|
|
97
|
-
96,8/22/2022,706,360.4615385
|
|
98
|
-
97,8/23/2022,616,377.3846154
|
|
99
|
-
98,8/24/2022,223,373.7692308
|
|
100
|
-
99,8/25/2022,407,360.8461538
|
|
101
|
-
100,8/26/2022,106,362
|