@cdc/waffle-chart 4.22.10 → 4.22.11
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/README.md +4 -4
- package/dist/cdcwafflechart.js +1 -1
- package/examples/example-data.json +90 -90
- package/examples/gallery/avg-to-max.json +3161 -3161
- package/examples/gallery/count.json +3161 -3161
- package/package.json +3 -3
- package/src/CdcWaffleChart.tsx +130 -198
- package/src/ConfigContext.js +3 -3
- package/src/components/EditorPanel.js +149 -310
- package/src/data/initial-state.js +31 -31
- package/src/index.html +24 -26
- package/src/index.js +7 -7
- package/src/scss/main.scss +3 -4
- package/src/scss/waffle-chart.scss +21 -11
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"Insured Rate": "43",
|
|
4
|
-
"Coverage Status": "Insured",
|
|
5
|
-
"state": "Alabama",
|
|
6
|
-
"Year (Good filter option)": "2010",
|
|
7
|
-
"link": "",
|
|
8
|
-
"Verified": true
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"Insured Rate": "0",
|
|
12
|
-
"Coverage Status": "Uninsured",
|
|
13
|
-
"state": "Alaska",
|
|
14
|
-
"Year (Good filter option)": "2006",
|
|
15
|
-
"link": "",
|
|
16
|
-
"Verified": false
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"Insured Rate": "72.7",
|
|
20
|
-
"Coverage Status": "Insured",
|
|
21
|
-
"state": "Arizona",
|
|
22
|
-
"Year (Good filter option)": "2008",
|
|
23
|
-
"link": "#lorem",
|
|
24
|
-
"Verified": true
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"Insured Rate": "78.7",
|
|
28
|
-
"Coverage Status": "Insured",
|
|
29
|
-
"state": "Arkansas",
|
|
30
|
-
"Year (Good filter option)": "2010",
|
|
31
|
-
"link": "",
|
|
32
|
-
"Verified": true
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"Insured Rate": "37.2",
|
|
36
|
-
"Coverage Status": "Insured",
|
|
37
|
-
"state": "California",
|
|
38
|
-
"Year (Good filter option)": "2018",
|
|
39
|
-
"link": "https://search.cdc.gov/search/?query=California&utf8=%E2%9C%93&affiliate=cdc-main",
|
|
40
|
-
"Verified": true
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"Insured Rate": "50.6",
|
|
44
|
-
"Coverage Status": "Insured",
|
|
45
|
-
"state": "Colorado",
|
|
46
|
-
"Year (Good filter option)": "2014",
|
|
47
|
-
"link": "",
|
|
48
|
-
"Verified": false
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"Insured Rate": "83.2",
|
|
52
|
-
"Coverage Status": "Insured",
|
|
53
|
-
"state": "Connecticut",
|
|
54
|
-
"Year (Good filter option)": "2019",
|
|
55
|
-
"link": "",
|
|
56
|
-
"Verified": true
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"Insured Rate": "90",
|
|
60
|
-
"Coverage Status": "Insured",
|
|
61
|
-
"state": "Delaware",
|
|
62
|
-
"Year (Good filter option)": "2020",
|
|
63
|
-
"link": "",
|
|
64
|
-
"Verified": true
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"Insured Rate": "77.1",
|
|
68
|
-
"Coverage Status": "Insured",
|
|
69
|
-
"state": "District of Columbia",
|
|
70
|
-
"Year (Good filter option)": "2019",
|
|
71
|
-
"link": "https://search.cdc.gov/search/index.html?query=Washington+D.C.&sitelimit=&utf8=%E2%9C%93&affiliate=cdc-main",
|
|
72
|
-
"Verified": false
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"Insured Rate": "83",
|
|
76
|
-
"Coverage Status": "Insured",
|
|
77
|
-
"state": "Florida",
|
|
78
|
-
"Year (Good filter option)": "2016",
|
|
79
|
-
"link": "",
|
|
80
|
-
"Verified": true
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"Insured Rate": "67.4",
|
|
84
|
-
"Coverage Status": "Insured",
|
|
85
|
-
"state": "Georgia",
|
|
86
|
-
"Year (Good filter option)": "2013",
|
|
87
|
-
"link": "",
|
|
88
|
-
"Verified": false
|
|
89
|
-
}
|
|
90
|
-
]
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"Insured Rate": "43",
|
|
4
|
+
"Coverage Status": "Insured",
|
|
5
|
+
"state": "Alabama",
|
|
6
|
+
"Year (Good filter option)": "2010",
|
|
7
|
+
"link": "",
|
|
8
|
+
"Verified": true
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"Insured Rate": "0",
|
|
12
|
+
"Coverage Status": "Uninsured",
|
|
13
|
+
"state": "Alaska",
|
|
14
|
+
"Year (Good filter option)": "2006",
|
|
15
|
+
"link": "",
|
|
16
|
+
"Verified": false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"Insured Rate": "72.7",
|
|
20
|
+
"Coverage Status": "Insured",
|
|
21
|
+
"state": "Arizona",
|
|
22
|
+
"Year (Good filter option)": "2008",
|
|
23
|
+
"link": "#lorem",
|
|
24
|
+
"Verified": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"Insured Rate": "78.7",
|
|
28
|
+
"Coverage Status": "Insured",
|
|
29
|
+
"state": "Arkansas",
|
|
30
|
+
"Year (Good filter option)": "2010",
|
|
31
|
+
"link": "",
|
|
32
|
+
"Verified": true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"Insured Rate": "37.2",
|
|
36
|
+
"Coverage Status": "Insured",
|
|
37
|
+
"state": "California",
|
|
38
|
+
"Year (Good filter option)": "2018",
|
|
39
|
+
"link": "https://search.cdc.gov/search/?query=California&utf8=%E2%9C%93&affiliate=cdc-main",
|
|
40
|
+
"Verified": true
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"Insured Rate": "50.6",
|
|
44
|
+
"Coverage Status": "Insured",
|
|
45
|
+
"state": "Colorado",
|
|
46
|
+
"Year (Good filter option)": "2014",
|
|
47
|
+
"link": "",
|
|
48
|
+
"Verified": false
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"Insured Rate": "83.2",
|
|
52
|
+
"Coverage Status": "Insured",
|
|
53
|
+
"state": "Connecticut",
|
|
54
|
+
"Year (Good filter option)": "2019",
|
|
55
|
+
"link": "",
|
|
56
|
+
"Verified": true
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"Insured Rate": "90",
|
|
60
|
+
"Coverage Status": "Insured",
|
|
61
|
+
"state": "Delaware",
|
|
62
|
+
"Year (Good filter option)": "2020",
|
|
63
|
+
"link": "",
|
|
64
|
+
"Verified": true
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"Insured Rate": "77.1",
|
|
68
|
+
"Coverage Status": "Insured",
|
|
69
|
+
"state": "District of Columbia",
|
|
70
|
+
"Year (Good filter option)": "2019",
|
|
71
|
+
"link": "https://search.cdc.gov/search/index.html?query=Washington+D.C.&sitelimit=&utf8=%E2%9C%93&affiliate=cdc-main",
|
|
72
|
+
"Verified": false
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"Insured Rate": "83",
|
|
76
|
+
"Coverage Status": "Insured",
|
|
77
|
+
"state": "Florida",
|
|
78
|
+
"Year (Good filter option)": "2016",
|
|
79
|
+
"link": "",
|
|
80
|
+
"Verified": true
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"Insured Rate": "67.4",
|
|
84
|
+
"Coverage Status": "Insured",
|
|
85
|
+
"state": "Georgia",
|
|
86
|
+
"Year (Good filter option)": "2013",
|
|
87
|
+
"link": "",
|
|
88
|
+
"Verified": false
|
|
89
|
+
}
|
|
90
|
+
]
|