@cdc/chart 4.25.5-1 → 4.25.6-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/LICENSE +201 -0
- package/dist/cdcchart.js +31118 -27459
- package/examples/private/0527.json +1 -0
- package/examples/private/DEV-8850-2.json +493 -0
- package/examples/private/DEV-9822.json +574 -0
- package/examples/private/DEV-9840.json +553 -0
- package/examples/private/DEV-9850-3.json +461 -0
- package/examples/private/chart.json +1084 -0
- package/examples/private/ci_formatted.json +202 -0
- package/examples/private/ci_issue.json +3016 -0
- package/examples/private/completed.json +634 -0
- package/examples/private/dem-data-long.csv +20 -0
- package/examples/private/dem-data-long.json +36 -0
- package/examples/private/demographic_data.csv +157 -0
- package/examples/private/demographic_data.json +2654 -0
- package/examples/private/demographic_dynamic.json +443 -0
- package/examples/private/demographic_standard.json +560 -0
- package/examples/private/ehdi.json +29939 -0
- package/examples/private/line-issue.json +497 -0
- package/examples/private/not-loading.json +360 -0
- package/examples/private/test.json +493 -0
- package/examples/private/testing-pie.json +436 -0
- package/index.html +130 -130
- package/package.json +2 -2
- package/src/CdcChartComponent.tsx +66 -26
- package/src/_stories/Chart.stories.tsx +99 -93
- package/src/_stories/ChartPrefixSuffix.stories.tsx +29 -32
- package/src/_stories/_mock/pie_calculated_area.json +417 -0
- package/src/components/BarChart/components/BarChart.Horizontal.tsx +4 -13
- package/src/components/BarChart/components/BarChart.StackedVertical.tsx +3 -14
- package/src/components/BarChart/components/BarChart.Vertical.tsx +2 -8
- package/src/components/Brush/BrushChart.tsx +73 -0
- package/src/components/Brush/BrushController..tsx +39 -0
- package/src/components/DeviationBar.jsx +0 -1
- package/src/components/EditorPanel/EditorPanel.tsx +246 -156
- package/src/components/EditorPanel/components/Panels/Panel.General.tsx +2 -2
- package/src/components/EditorPanel/components/Panels/Panel.Series.tsx +3 -2
- package/src/components/EditorPanel/components/Panels/Panel.Visual.tsx +2 -1
- package/src/components/EditorPanel/components/Panels/panelVisual.styles.css +8 -0
- package/src/components/EditorPanel/useEditorPermissions.ts +7 -4
- package/src/components/HoverLine/HoverLine.tsx +74 -0
- package/src/components/Legend/Legend.Suppression.tsx +47 -3
- package/src/components/Legend/helpers/index.ts +1 -1
- package/src/components/LineChart/helpers.ts +7 -7
- package/src/components/LineChart/index.tsx +3 -6
- package/src/components/LinearChart.tsx +108 -72
- package/src/components/PieChart/PieChart.tsx +58 -13
- package/src/data/initial-state.js +8 -5
- package/src/helpers/countNumOfTicks.ts +4 -19
- package/src/helpers/getNewRuntime.ts +35 -0
- package/src/helpers/getPiePercent.ts +22 -0
- package/src/helpers/getTransformedData.ts +22 -0
- package/src/helpers/tests/getNewRuntime.test.ts +82 -0
- package/src/helpers/tests/getPiePercent.test.ts +38 -0
- package/src/hooks/useRightAxis.ts +1 -1
- package/src/hooks/useScales.ts +8 -3
- package/src/hooks/useTooltip.tsx +24 -10
- package/src/scss/main.scss +8 -4
- package/src/store/chart.actions.ts +2 -6
- package/src/store/chart.reducer.ts +23 -23
- package/src/types/ChartConfig.ts +7 -4
- package/src/types/ChartContext.ts +0 -2
- package/src/components/ZoomBrush.tsx +0 -251
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"chart","visualizationType":"Bar","id":1,"category":"Charts","label":"Bar","subType":"Bar","orientation":"horizontal","barThickness":"0.37","visualizationSubType":"regular","xAxis":{"sortDates":false,"anchors":[{"value":"95","color":"red","lineStyle":"Dashed Small"},{"value":"84.7","color":"black","lineStyle":"Dashed Small"}],"type":"categorical","showTargetLabel":true,"targetLabel":"Target","hideAxis":false,"hideLabel":false,"hideTicks":false,"size":"350","tickRotation":0,"min":"","max":"","labelColor":"#333","tickLabelColor":"#333","tickColor":"#333","numTicks":"","labelOffset":0,"axisPadding":200,"target":0,"maxTickRotation":45,"padding":5,"showYearsOnce":false,"sortByRecentDate":false,"dataKey":"State/cities","tickWidthMax":29,"axisBBox":29.860000610351562},"icon":{"key":null,"ref":null,"props":{},"_owner":null},"content":"Use bars to show comparisons between data categories.","datasets":{},"activeVizButtonID":1,"data":[{"State/cities":"Vermont","Completed cases":"2","Total cases":"2","Percentage who completed therapy":"100","Cases category":"1 to 52 TB cases"},{"State/cities":"Nevada","Completed cases":"44","Total cases":"44","Percentage who completed therapy":"100","Cases category":"1 to 52 TB cases"},{"State/cities":"Mississippi","Completed cases":"34","Total cases":"35","Percentage who completed therapy":"97","Cases category":"1 to 52 TB cases"},{"State/cities":"New Mexico","Completed cases":"15","Total cases":"16","Percentage who completed therapy":"94","Cases category":"1 to 52 TB cases"},{"State/cities":"Kansas","Completed cases":"27","Total cases":"29","Percentage who completed therapy":"93","Cases category":"1 to 52 TB cases"},{"State/cities":"Utah","Completed cases":"22","Total cases":"24","Percentage who completed therapy":"92","Cases category":"1 to 52 TB cases"},{"State/cities":"Delaware","Completed cases":"12","Total cases":"13","Percentage who completed therapy":"92","Cases category":"1 to 52 TB cases"},{"State/cities":"Wisconsin","Completed cases":"21","Total cases":"23","Percentage who completed therapy":"91","Cases category":"1 to 52 TB cases"},{"State/cities":"Colorado","Completed cases":"36","Total cases":"40","Percentage who completed therapy":"90","Cases category":"1 to 52 TB cases"},{"State/cities":"New Hampshire","Completed cases":"8","Total cases":"9","Percentage who completed therapy":"89","Cases category":"1 to 52 TB cases"},{"State/cities":"Chicago, IL","Completed cases":"47","Total cases":"53","Percentage who completed therapy":"89","Cases category":"1 to 52 TB cases"},{"State/cities":"Iowa","Completed cases":"28","Total cases":"32","Percentage who completed therapy":"88","Cases category":"1 to 52 TB cases"},{"State/cities":"Idaho","Completed cases":"6","Total cases":"7","Percentage who completed therapy":"86","Cases category":"1 to 52 TB cases"},{"State/cities":"District of Columbia","Completed cases":"12","Total cases":"14","Percentage who completed therapy":"86","Cases category":"1 to 52 TB cases"},{"State/cities":"Arkansas","Completed cases":"38","Total cases":"44","Percentage who completed therapy":"86","Cases category":"1 to 52 TB cases"},{"State/cities":"Alaska","Completed cases":"42","Total cases":"49","Percentage who completed therapy":"86","Cases category":"1 to 52 TB cases"},{"State/cities":"West Virginia","Completed cases":"11","Total cases":"13","Percentage who completed therapy":"85","Cases category":"1 to 52 TB cases"},{"State/cities":"Connecticut","Completed cases":"34","Total cases":"40","Percentage who completed therapy":"85","Cases category":"1 to 52 TB cases"},{"State/cities":"Oklahoma","Completed cases":"40","Total cases":"48","Percentage who completed therapy":"83","Cases category":"1 to 52 TB cases"},{"State/cities":"Maine","Completed cases":"11","Total cases":"14","Percentage who completed therapy":"79","Cases category":"1 to 52 TB cases"},{"State/cities":"South Dakota","Completed cases":"10","Total cases":"13","Percentage who completed therapy":"77","Cases category":"1 to 52 TB cases"},{"State/cities":"Rhode Island","Completed cases":"3","Total cases":"4","Percentage who completed therapy":"75","Cases category":"1 to 52 TB cases"},{"State/cities":"Baltimore, MD","Completed cases":"6","Total cases":"12","Percentage who completed therapy":"50","Cases category":"1 to 52 TB cases"},{"State/cities":"Montana","Completed cases":"1","Total cases":"3","Percentage who completed therapy":"33","Cases category":"1 to 52 TB cases"},{"State/cities":"Oregon","Completed cases":"54","Total cases":"57","Percentage who completed therapy":"95","Cases category":"53 to 130 TB cases"},{"State/cities":"South Carolina","Completed cases":"50","Total cases":"53","Percentage who completed therapy":"94","Cases category":"53 to 130 TB cases"},{"State/cities":"Indiana","Completed cases":"67","Total cases":"71","Percentage who completed therapy":"94","Cases category":"53 to 130 TB cases"},{"State/cities":"Philadelphia, PA","Completed cases":"42","Total cases":"45","Percentage who completed therapy":"93","Cases category":"53 to 130 TB cases"},{"State/cities":"San Francisco, CA","Completed cases":"44","Total cases":"48","Percentage who completed therapy":"92","Cases category":"53 to 130 TB cases"},{"State/cities":"New York [excluding New York City]","Completed cases":"315","Total cases":"346","Percentage who completed therapy":"91","Cases category":"53 to 130 TB cases"},{"State/cities":"San Diego, CA","Completed cases":"159","Total cases":"175","Percentage who completed therapy":"91","Cases category":"53 to 130 TB cases"},{"State/cities":"Pennsylvania [excluding Philadelphia]","Completed cases":"70","Total cases":"78","Percentage who completed therapy":"90","Cases category":"53 to 130 TB cases"},{"State/cities":"Minnesota","Completed cases":"85","Total cases":"93","Percentage who completed therapy":"91","Cases category":"53 to 130 TB cases"},{"State/cities":"North Dakota","Completed cases":"9","Total cases":"10","Percentage who completed therapy":"90","Cases category":"53 to 130 TB cases"},{"State/cities":"North Carolina","Completed cases":"116","Total cases":"129","Percentage who completed therapy":"90","Cases category":"53 to 130 TB cases"},{"State/cities":"Michigan","Completed cases":"75","Total cases":"83","Percentage who completed therapy":"90","Cases category":"53 to 130 TB cases"},{"State/cities":"Hawaii","Completed cases":"66","Total cases":"73","Percentage who completed therapy":"90","Cases category":"53 to 130 TB cases"},{"State/cities":"Arizona","Completed cases":"101","Total cases":"112","Percentage who completed therapy":"90","Cases category":"53 to 130 TB cases"},{"State/cities":"Kentucky","Completed cases":"47","Total cases":"53","Percentage who completed therapy":"89","Cases category":"53 to 130 TB cases"},{"State/cities":"Massachusetts","Completed cases":"102","Total cases":"116","Percentage who completed therapy":"88","Cases category":"53 to 130 TB cases"},{"State/cities":"Ohio","Completed cases":"99","Total cases":"115","Percentage who completed therapy":"86","Cases category":"53 to 130 TB cases"},{"State/cities":"Houston, TX","Completed cases":"97","Total cases":"113","Percentage who completed therapy":"86","Cases category":"53 to 130 TB cases"},{"State/cities":"Alabama","Completed cases":"49","Total cases":"58","Percentage who completed therapy":"84","Cases category":"53 to 130 TB cases"},{"State/cities":"Maryland [excluding Baltimore]","Completed cases":"93","Total cases":"112","Percentage who completed therapy":"83","Cases category":"53 to 130 TB cases"},{"State/cities":"Texas [excluding Houston]","Completed cases":"502","Total cases":"604","Percentage who completed therapy":"83","Cases category":"53 to 130 TB cases"},{"State/cities":"Tennessee","Completed cases":"78","Total cases":"95","Percentage who completed therapy":"82","Cases category":"53 to 130 TB cases"},{"State/cities":"Missouri","Completed cases":"47","Total cases":"59","Percentage who completed therapy":"80","Cases category":"53 to 130 TB cases"},{"State/cities":"Louisiana","Completed cases":"66","Total cases":"84","Percentage who completed therapy":"79","Cases category":"53 to 130 TB cases"},{"State/cities":"Nebraska","Completed cases":"11","Total cases":"26","Percentage who completed therapy":"42","Cases category":"53 to 130 TB cases"},{"State/cities":"Illinois [excluding Chicago]","Completed cases":"101","Total cases":"103","Percentage who completed therapy":"98","Cases category":"131 or more TB cases"},{"State/cities":"Washington","Completed cases":"128","Total cases":"134","Percentage who completed therapy":"96","Cases category":"131 or more TB cases"},{"State/cities":"Florida","Completed cases":"324","Total cases":"339","Percentage who completed therapy":"96","Cases category":"131 or more TB cases"},{"State/cities":"New York, NY ","Completed cases":"126","Total cases":"136","Percentage who completed therapy":"93","Cases category":"131 or more TB cases"},{"State/cities":"Los Angeles, CA","Completed cases":"321","Total cases":"345","Percentage who completed therapy":"93","Cases category":"131 or more TB cases"},{"State/cities":"Virginia","Completed cases":"133","Total cases":"144","Percentage who completed therapy":"92","Cases category":"131 or more TB cases"},{"State/cities":"New Jersey","Completed cases":"177","Total cases":"192","Percentage who completed therapy":"92","Cases category":"131 or more TB cases"},{"State/cities":"Georgia","Completed cases":"158","Total cases":"173","Percentage who completed therapy":"91","Cases category":"131 or more TB cases"},{"State/cities":"California [excluding LA, SD, SF]","Completed cases":"703","Total cases":"790","Percentage who completed therapy":"89","Cases category":"131 or more TB cases"}],"dataFileName":"COT-12Months-v2.csv","dataFileSourceType":"file","annotations":[{"text":"National average 84.7%","snapToNearestPoint":false,"fontSize":16,"bezier":10,"show":{"desktop":true,"tablet":true,"mobile":true},"connectorType":"line","colors":{"label":"black","connector":"black","marker":"black"},"selected":true,"anchor":{"vertical":false,"horizontal":false},"marker":"circle","edit":{"subject":true,"label":true},"seriesKey":"","x":76.75190558150972,"y":216.92999267578125,"xKey":"1/15/2016","yKey":"","dx":20,"dy":-20,"opacity":"87","savedDimensions":[null,null],"connectionType":"select"},{"text":"2025 target: 95%","snapToNearestPoint":false,"fontSize":16,"bezier":10,"show":{"desktop":true,"tablet":true,"mobile":true},"connectorType":"line","colors":{"label":"black","connector":"black","marker":"black"},"selected":true,"anchor":{"vertical":false,"horizontal":false},"marker":"circle","edit":{"subject":true,"label":true},"seriesKey":"","x":89.14433243176788,"y":105.92999267578125,"xKey":"1/15/2016","yKey":"","dx":20,"dy":-20,"opacity":"100","savedDimensions":[null,null],"connectionType":"select"}],"debugSvg":false,"chartMessage":{"noData":"No Data Available"},"title":"","showTitle":true,"showDownloadMediaButton":false,"theme":"theme-blue","animate":false,"lineDatapointStyle":"hover","lineDatapointColor":"Same as Line","barHasBorder":"true","isLollipopChart":false,"lollipopShape":"circle","lollipopColorStyle":"two-tone","barStyle":"","roundingStyle":"standard","tipRounding":"top","isResponsiveTicks":false,"general":{"annotationDropdownText":"Annotations","showMissingDataLabel":true,"showSuppressedSymbol":true,"showZeroValueData":true,"hideNullValue":true,"showDownloadButton":false,"showAnnotationDropdown":false},"padding":{"left":5,"right":5},"preliminaryData":[],"yAxis":{"hideAxis":false,"displayNumbersOnBar":false,"hideLabel":false,"hideTicks":false,"size":50,"gridLines":false,"enablePadding":false,"min":"","max":"","labelColor":"#333","tickLabelColor":"#333","tickColor":"#333","rightHideAxis":false,"rightAxisSize":0,"rightLabel":"","rightLabelOffsetSize":0,"rightAxisLabelColor":"#333","rightAxisTickLabelColor":"#333","rightAxisTickColor":"#333","numTicks":"","axisPadding":0,"scalePadding":"30","tickRotation":0,"anchors":[],"shoMissingDataLabel":true,"showMissingDataLine":true,"categories":[],"labelPlacement":"On Date/Category Axis","type":"linear","labelOffset":"-1"},"boxplot":{"plots":[],"borders":"true","plotOutlierValues":false,"plotNonOutlierValues":true,"labels":{"q1":"Lower Quartile","q2":"q2","q3":"Upper Quartile","q4":"q4","minimum":"Minimum","maximum":"Maximum","mean":"Mean","median":"Median","sd":"Standard Deviation","iqr":"Interquartile Range","count":"Count","outliers":"Outliers","values":"Values","lowerBounds":"Lower Bounds","upperBounds":"Upper Bounds"}},"topAxis":{"hasLine":false},"isLegendValue":false,"barHeight":25,"barSpace":"5","heights":{"vertical":300,"horizontal":1740},"table":{"label":"Data Table","expanded":true,"limitHeight":false,"height":"","caption":"","showDownloadUrl":false,"showDataTableLink":true,"showDownloadLinkBelow":true,"indexLabel":"","download":true,"showVertical":false,"dateDisplayFormat":"","showMissingDataLabel":true,"showSuppressedSymbol":true,"show":false},"color":"pinkpurple","columns":{"Percentage who completed therapy":{"label":"Percentage who completed therapy","dataTable":true,"tooltips":true,"prefix":"","suffix":"%","forestPlot":false,"startingPoint":"0","forestPlotAlignRight":false,"roundToPlace":0,"commas":false,"showInViz":false,"forestPlotStartingPoint":0,"name":"Percentage who completed therapy","series":""},"Completed cases":{"label":"Completed cases","dataTable":true,"tooltips":true,"prefix":"","suffix":"","forestPlot":false,"startingPoint":"0","forestPlotAlignRight":false,"roundToPlace":0,"commas":false,"showInViz":false,"forestPlotStartingPoint":0,"name":"Completed cases"},"Total cases":{"label":"Total cases","dataTable":true,"tooltips":true,"prefix":"","suffix":"","forestPlot":false,"startingPoint":"0","forestPlotAlignRight":false,"roundToPlace":0,"commas":false,"showInViz":false,"forestPlotStartingPoint":0,"name":"Total cases"}},"legend":{"hide":false,"behavior":"isolate","axisAlign":true,"singleRow":true,"colorCode":"Cases category","reverseLabelOrder":false,"description":"","dynamicLegend":false,"dynamicLegendDefaultText":"Show All","dynamicLegendItemLimit":5,"dynamicLegendItemLimitMessage":"Dynamic Legend Item Limit Hit.","dynamicLegendChartMessage":"Select Options from the Legend","label":"Completion of therapy by U.S. states and cities","lineMode":false,"verticalSorted":false,"highlightOnHover":false,"hideSuppressedLabels":false,"hideSuppressionLink":false,"seriesHighlight":[],"style":"boxes","subStyle":"linear blocks","groupBy":"Cases category","shape":"circle","tickRotation":"","hideBorder":{"side":false,"topBottom":true},"position":"bottom","unified":true},"brush":{"height":45,"active":false},"exclusions":{"active":false,"keys":[]},"palette":"sequential-blue","isPaletteReversed":false,"twoColor":{"palette":"monochrome-1","isPaletteReversed":false},"labels":false,"dataFormat":{"commas":false,"prefix":"","suffix":"","abbreviated":false,"bottomSuffix":"","bottomPrefix":"","bottomAbbreviated":false},"filters":[],"confidenceKeys":{},"visual":{"border":true,"accent":true,"background":true,"verticalHoverLine":false,"horizontalHoverLine":false,"lineDatapointSymbol":"none","maximumShapeAmount":7},"useLogScale":false,"filterBehavior":"Filter Change","highlightedBarValues":[],"series":[{"dataKey":"Percentage who completed therapy","type":"Bar","axis":"Left","tooltip":false,"name":"Percentage who completed therapy"}],"tooltips":{"opacity":90,"singleSeries":false,"dateDisplayFormat":""},"forestPlot":{"startAt":0,"colors":{"line":"","shape":""},"lineOfNoEffect":{"show":true},"type":"","pooledResult":{"diamondHeight":5,"column":""},"estimateField":"","estimateRadius":"","shape":"square","rowHeight":20,"description":{"show":true,"text":"description","location":0},"result":{"show":true,"text":"result","location":100},"radius":{"min":2,"max":10,"scalingColumn":""},"regression":{"lower":0,"upper":0,"estimateField":0},"leftWidthOffset":0,"rightWidthOffset":0,"showZeroLine":false,"leftLabel":"","rightLabel":""},"area":{"isStacked":false},"sankey":{"title":{"defaultColor":"black"},"iterations":1,"rxValue":0.9,"overallSize":{"width":900,"height":700},"margin":{"margin_y":25,"margin_x":0},"nodeSize":{"nodeWidth":26,"nodeHeight":40},"nodePadding":55,"nodeFontColor":"black","nodeColor":{"default":"#ff8500","inactive":"#808080"},"linkColor":{"default":"#ffc900","inactive":"#D3D3D3"},"opacity":{"nodeOpacityDefault":1,"nodeOpacityInactive":0.1,"LinkOpacityDefault":1,"LinkOpacityInactive":0.1},"storyNodeFontColor":"#006778","storyNodeText":[],"nodeValueStyle":{"textBefore":"(","textAfter":")"},"data":[]},"version":"4.25.1","migrations":{"addColorMigration":true},"dynamicMarginTop":0}
|
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
{
|
|
2
|
+
"annotations": [],
|
|
3
|
+
"type": "chart",
|
|
4
|
+
"debugSvg": false,
|
|
5
|
+
"chartMessage": {
|
|
6
|
+
"noData": "No Data Available"
|
|
7
|
+
},
|
|
8
|
+
"title": "",
|
|
9
|
+
"showTitle": true,
|
|
10
|
+
"showDownloadMediaButton": false,
|
|
11
|
+
"theme": "theme-blue",
|
|
12
|
+
"animate": false,
|
|
13
|
+
"fontSize": "medium",
|
|
14
|
+
"lineDatapointStyle": "hover",
|
|
15
|
+
"lineDatapointColor": "Same as Line",
|
|
16
|
+
"barHasBorder": "false",
|
|
17
|
+
"isLollipopChart": false,
|
|
18
|
+
"lollipopShape": "circle",
|
|
19
|
+
"lollipopColorStyle": "two-tone",
|
|
20
|
+
"visualizationSubType": "regular",
|
|
21
|
+
"barStyle": "flat",
|
|
22
|
+
"roundingStyle": "standard",
|
|
23
|
+
"tipRounding": "top",
|
|
24
|
+
"isResponsiveTicks": false,
|
|
25
|
+
"general": {
|
|
26
|
+
"annotationDropdownText": "Annotations",
|
|
27
|
+
"showDownloadButton": false,
|
|
28
|
+
"showMissingDataLabel": true,
|
|
29
|
+
"showSuppressedSymbol": true,
|
|
30
|
+
"showZeroValueData": true,
|
|
31
|
+
"hideNullValue": true
|
|
32
|
+
},
|
|
33
|
+
"padding": {
|
|
34
|
+
"left": 5,
|
|
35
|
+
"right": 5
|
|
36
|
+
},
|
|
37
|
+
"preliminaryData": [],
|
|
38
|
+
"yAxis": {
|
|
39
|
+
"hideAxis": false,
|
|
40
|
+
"displayNumbersOnBar": false,
|
|
41
|
+
"hideLabel": false,
|
|
42
|
+
"hideTicks": false,
|
|
43
|
+
"size": 50,
|
|
44
|
+
"gridLines": false,
|
|
45
|
+
"enablePadding": false,
|
|
46
|
+
"min": "",
|
|
47
|
+
"max": "",
|
|
48
|
+
"labelColor": "#333",
|
|
49
|
+
"tickLabelColor": "#333",
|
|
50
|
+
"tickColor": "#333",
|
|
51
|
+
"rightHideAxis": true,
|
|
52
|
+
"rightAxisSize": 0,
|
|
53
|
+
"rightLabel": "",
|
|
54
|
+
"rightLabelOffsetSize": 0,
|
|
55
|
+
"rightAxisLabelColor": "#333",
|
|
56
|
+
"rightAxisTickLabelColor": "#333",
|
|
57
|
+
"rightAxisTickColor": "#333",
|
|
58
|
+
"numTicks": "",
|
|
59
|
+
"axisPadding": 0,
|
|
60
|
+
"scalePadding": 10,
|
|
61
|
+
"tickRotation": 0,
|
|
62
|
+
"anchors": [],
|
|
63
|
+
"shoMissingDataLabel": true,
|
|
64
|
+
"showMissingDataLine": true,
|
|
65
|
+
"categories": []
|
|
66
|
+
},
|
|
67
|
+
"boxplot": {
|
|
68
|
+
"plots": [],
|
|
69
|
+
"borders": "true",
|
|
70
|
+
"plotOutlierValues": false,
|
|
71
|
+
"plotNonOutlierValues": true,
|
|
72
|
+
"labels": {
|
|
73
|
+
"q1": "Lower Quartile",
|
|
74
|
+
"q2": "q2",
|
|
75
|
+
"q3": "Upper Quartile",
|
|
76
|
+
"q4": "q4",
|
|
77
|
+
"minimum": "Minimum",
|
|
78
|
+
"maximum": "Maximum",
|
|
79
|
+
"mean": "Mean",
|
|
80
|
+
"median": "Median",
|
|
81
|
+
"sd": "Standard Deviation",
|
|
82
|
+
"iqr": "Interquartile Range",
|
|
83
|
+
"count": "Count",
|
|
84
|
+
"outliers": "Outliers",
|
|
85
|
+
"values": "Values",
|
|
86
|
+
"lowerBounds": "Lower Bounds",
|
|
87
|
+
"upperBounds": "Upper Bounds"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"topAxis": {
|
|
91
|
+
"hasLine": false
|
|
92
|
+
},
|
|
93
|
+
"isLegendValue": false,
|
|
94
|
+
"barThickness": 0.35,
|
|
95
|
+
"barHeight": 25,
|
|
96
|
+
"barSpace": 15,
|
|
97
|
+
"heights": {
|
|
98
|
+
"vertical": 300,
|
|
99
|
+
"horizontal": 750
|
|
100
|
+
},
|
|
101
|
+
"xAxis": {
|
|
102
|
+
"sortDates": false,
|
|
103
|
+
"anchors": [],
|
|
104
|
+
"type": "categorical",
|
|
105
|
+
"showTargetLabel": true,
|
|
106
|
+
"targetLabel": "Target",
|
|
107
|
+
"hideAxis": false,
|
|
108
|
+
"hideLabel": false,
|
|
109
|
+
"hideTicks": false,
|
|
110
|
+
"size": 75,
|
|
111
|
+
"tickRotation": "45",
|
|
112
|
+
"min": "",
|
|
113
|
+
"max": "",
|
|
114
|
+
"labelColor": "#333",
|
|
115
|
+
"tickLabelColor": "#333",
|
|
116
|
+
"tickColor": "#333",
|
|
117
|
+
"numTicks": "",
|
|
118
|
+
"labelOffset": 0,
|
|
119
|
+
"axisPadding": 200,
|
|
120
|
+
"target": 0,
|
|
121
|
+
"maxTickRotation": 0,
|
|
122
|
+
"padding": "0",
|
|
123
|
+
"showYearsOnce": false,
|
|
124
|
+
"sortByRecentDate": false,
|
|
125
|
+
"dataKey": "date",
|
|
126
|
+
"axisBBox": 116.57705688476562,
|
|
127
|
+
"tickWidthMax": 93,
|
|
128
|
+
"dateParseFormat": "%Y-%m-%d",
|
|
129
|
+
"dateDisplayFormat": "%Y-%m-%d",
|
|
130
|
+
"manual": false,
|
|
131
|
+
"label": "Date"
|
|
132
|
+
},
|
|
133
|
+
"table": {
|
|
134
|
+
"label": "Data Table",
|
|
135
|
+
"expanded": true,
|
|
136
|
+
"limitHeight": false,
|
|
137
|
+
"height": "",
|
|
138
|
+
"caption": "",
|
|
139
|
+
"showDownloadUrl": false,
|
|
140
|
+
"showDataTableLink": true,
|
|
141
|
+
"showDownloadLinkBelow": true,
|
|
142
|
+
"indexLabel": "",
|
|
143
|
+
"download": true,
|
|
144
|
+
"showVertical": true,
|
|
145
|
+
"dateDisplayFormat": "%Y-%m-%d",
|
|
146
|
+
"showMissingDataLabel": true,
|
|
147
|
+
"showSuppressedSymbol": true,
|
|
148
|
+
"show": true
|
|
149
|
+
},
|
|
150
|
+
"orientation": "vertical",
|
|
151
|
+
"color": "pinkpurple",
|
|
152
|
+
"columns": {
|
|
153
|
+
"date": {
|
|
154
|
+
"label": "Date",
|
|
155
|
+
"dataTable": true,
|
|
156
|
+
"tooltips": false,
|
|
157
|
+
"prefix": "",
|
|
158
|
+
"suffix": "",
|
|
159
|
+
"forestPlot": false,
|
|
160
|
+
"startingPoint": "0",
|
|
161
|
+
"forestPlotAlignRight": false,
|
|
162
|
+
"roundToPlace": 0,
|
|
163
|
+
"commas": false,
|
|
164
|
+
"showInViz": false,
|
|
165
|
+
"forestPlotStartingPoint": 0,
|
|
166
|
+
"name": "date"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"legend": {
|
|
170
|
+
"hide": false,
|
|
171
|
+
"behavior": "isolate",
|
|
172
|
+
"axisAlign": true,
|
|
173
|
+
"singleRow": true,
|
|
174
|
+
"colorCode": "",
|
|
175
|
+
"reverseLabelOrder": false,
|
|
176
|
+
"description": "",
|
|
177
|
+
"dynamicLegend": false,
|
|
178
|
+
"dynamicLegendDefaultText": "Show All",
|
|
179
|
+
"dynamicLegendItemLimit": 5,
|
|
180
|
+
"dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
|
|
181
|
+
"dynamicLegendChartMessage": "Select Options from the Legend",
|
|
182
|
+
"label": "",
|
|
183
|
+
"lineMode": false,
|
|
184
|
+
"verticalSorted": false,
|
|
185
|
+
"highlightOnHover": false,
|
|
186
|
+
"hideSuppressedLabels": false,
|
|
187
|
+
"hideSuppressionLink": false,
|
|
188
|
+
"seriesHighlight": [],
|
|
189
|
+
"style": "circles",
|
|
190
|
+
"subStyle": "linear blocks",
|
|
191
|
+
"tickRotation": "",
|
|
192
|
+
"hideBorder": {
|
|
193
|
+
"side": false,
|
|
194
|
+
"topBottom": true
|
|
195
|
+
},
|
|
196
|
+
"position": "right"
|
|
197
|
+
},
|
|
198
|
+
"brush": {
|
|
199
|
+
"height": 25,
|
|
200
|
+
"active": false
|
|
201
|
+
},
|
|
202
|
+
"exclusions": {
|
|
203
|
+
"active": true,
|
|
204
|
+
"keys": [],
|
|
205
|
+
"dateStart": "2023-01-02",
|
|
206
|
+
"dateEnd": "2023-01-11"
|
|
207
|
+
},
|
|
208
|
+
"palette": "qualitative-bold",
|
|
209
|
+
"isPaletteReversed": false,
|
|
210
|
+
"twoColor": {
|
|
211
|
+
"palette": "monochrome-1",
|
|
212
|
+
"isPaletteReversed": false
|
|
213
|
+
},
|
|
214
|
+
"labels": false,
|
|
215
|
+
"dataFormat": {
|
|
216
|
+
"commas": false,
|
|
217
|
+
"prefix": "",
|
|
218
|
+
"suffix": "",
|
|
219
|
+
"abbreviated": false,
|
|
220
|
+
"bottomSuffix": "",
|
|
221
|
+
"bottomPrefix": "",
|
|
222
|
+
"bottomAbbreviated": false
|
|
223
|
+
},
|
|
224
|
+
"confidenceKeys": {
|
|
225
|
+
"upper": "upper",
|
|
226
|
+
"lower": "lower"
|
|
227
|
+
},
|
|
228
|
+
"visual": {
|
|
229
|
+
"border": true,
|
|
230
|
+
"accent": true,
|
|
231
|
+
"background": true,
|
|
232
|
+
"verticalHoverLine": false,
|
|
233
|
+
"horizontalHoverLine": false
|
|
234
|
+
},
|
|
235
|
+
"useLogScale": false,
|
|
236
|
+
"filterBehavior": "Filter Change",
|
|
237
|
+
"highlightedBarValues": [],
|
|
238
|
+
"series": [
|
|
239
|
+
{
|
|
240
|
+
"dataKey": "value",
|
|
241
|
+
"type": "Line",
|
|
242
|
+
"axis": "Left",
|
|
243
|
+
"tooltip": true,
|
|
244
|
+
"dynamicCategory": "category"
|
|
245
|
+
}
|
|
246
|
+
],
|
|
247
|
+
"tooltips": {
|
|
248
|
+
"opacity": 90,
|
|
249
|
+
"singleSeries": false,
|
|
250
|
+
"dateDisplayFormat": ""
|
|
251
|
+
},
|
|
252
|
+
"forestPlot": {
|
|
253
|
+
"startAt": 0,
|
|
254
|
+
"colors": {
|
|
255
|
+
"line": "",
|
|
256
|
+
"shape": ""
|
|
257
|
+
},
|
|
258
|
+
"lineOfNoEffect": {
|
|
259
|
+
"show": true
|
|
260
|
+
},
|
|
261
|
+
"type": "",
|
|
262
|
+
"pooledResult": {
|
|
263
|
+
"diamondHeight": 5,
|
|
264
|
+
"column": ""
|
|
265
|
+
},
|
|
266
|
+
"estimateField": "",
|
|
267
|
+
"estimateRadius": "",
|
|
268
|
+
"shape": "square",
|
|
269
|
+
"rowHeight": 20,
|
|
270
|
+
"description": {
|
|
271
|
+
"show": true,
|
|
272
|
+
"text": "description",
|
|
273
|
+
"location": 0
|
|
274
|
+
},
|
|
275
|
+
"result": {
|
|
276
|
+
"show": true,
|
|
277
|
+
"text": "result",
|
|
278
|
+
"location": 100
|
|
279
|
+
},
|
|
280
|
+
"radius": {
|
|
281
|
+
"min": 2,
|
|
282
|
+
"max": 10,
|
|
283
|
+
"scalingColumn": ""
|
|
284
|
+
},
|
|
285
|
+
"regression": {
|
|
286
|
+
"lower": 0,
|
|
287
|
+
"upper": 0,
|
|
288
|
+
"estimateField": 0
|
|
289
|
+
},
|
|
290
|
+
"leftWidthOffset": 0,
|
|
291
|
+
"rightWidthOffset": 0,
|
|
292
|
+
"showZeroLine": false,
|
|
293
|
+
"leftLabel": "",
|
|
294
|
+
"rightLabel": ""
|
|
295
|
+
},
|
|
296
|
+
"area": {
|
|
297
|
+
"isStacked": false
|
|
298
|
+
},
|
|
299
|
+
"sankey": {
|
|
300
|
+
"title": {
|
|
301
|
+
"defaultColor": "black"
|
|
302
|
+
},
|
|
303
|
+
"iterations": 1,
|
|
304
|
+
"rxValue": 0.9,
|
|
305
|
+
"overallSize": {
|
|
306
|
+
"width": 900,
|
|
307
|
+
"height": 700
|
|
308
|
+
},
|
|
309
|
+
"margin": {
|
|
310
|
+
"margin_y": 25,
|
|
311
|
+
"margin_x": 0
|
|
312
|
+
},
|
|
313
|
+
"nodeSize": {
|
|
314
|
+
"nodeWidth": 26,
|
|
315
|
+
"nodeHeight": 40
|
|
316
|
+
},
|
|
317
|
+
"nodePadding": 55,
|
|
318
|
+
"nodeFontColor": "black",
|
|
319
|
+
"nodeColor": {
|
|
320
|
+
"default": "#ff8500",
|
|
321
|
+
"inactive": "#808080"
|
|
322
|
+
},
|
|
323
|
+
"linkColor": {
|
|
324
|
+
"default": "#ffc900",
|
|
325
|
+
"inactive": "#D3D3D3"
|
|
326
|
+
},
|
|
327
|
+
"opacity": {
|
|
328
|
+
"nodeOpacityDefault": 1,
|
|
329
|
+
"nodeOpacityInactive": 0.1,
|
|
330
|
+
"LinkOpacityDefault": 1,
|
|
331
|
+
"LinkOpacityInactive": 0.1
|
|
332
|
+
},
|
|
333
|
+
"storyNodeFontColor": "#006778",
|
|
334
|
+
"storyNodeText": [],
|
|
335
|
+
"nodeValueStyle": {
|
|
336
|
+
"textBefore": "(",
|
|
337
|
+
"textAfter": ")"
|
|
338
|
+
},
|
|
339
|
+
"data": []
|
|
340
|
+
},
|
|
341
|
+
"visualizationType": "Line",
|
|
342
|
+
"data": [
|
|
343
|
+
{
|
|
344
|
+
"date": "2023-01-01",
|
|
345
|
+
"category": "male",
|
|
346
|
+
"value": 67,
|
|
347
|
+
"lower": 65,
|
|
348
|
+
"upper": 69
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"date": "2023-01-01",
|
|
352
|
+
"category": "female",
|
|
353
|
+
"value": 77,
|
|
354
|
+
"lower": 73,
|
|
355
|
+
"upper": 81
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"date": "2023-01-02",
|
|
359
|
+
"category": "male",
|
|
360
|
+
"value": 11,
|
|
361
|
+
"lower": 10,
|
|
362
|
+
"upper": 13
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"date": "2023-01-02",
|
|
366
|
+
"category": "female",
|
|
367
|
+
"value": 21,
|
|
368
|
+
"lower": 18,
|
|
369
|
+
"upper": 24
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"date": "2023-01-03",
|
|
373
|
+
"category": "male",
|
|
374
|
+
"value": 94,
|
|
375
|
+
"lower": 92,
|
|
376
|
+
"upper": 96
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"date": "2023-01-03",
|
|
380
|
+
"category": "female",
|
|
381
|
+
"value": 104,
|
|
382
|
+
"lower": 100,
|
|
383
|
+
"upper": 108
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"date": "2023-01-04",
|
|
387
|
+
"category": "male",
|
|
388
|
+
"value": 95,
|
|
389
|
+
"lower": 93,
|
|
390
|
+
"upper": 97
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"date": "2023-01-04",
|
|
394
|
+
"category": "female",
|
|
395
|
+
"value": 105,
|
|
396
|
+
"lower": 101,
|
|
397
|
+
"upper": 109
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"date": "2023-01-05",
|
|
401
|
+
"category": "male",
|
|
402
|
+
"value": 79,
|
|
403
|
+
"lower": 77,
|
|
404
|
+
"upper": 81
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"date": "2023-01-05",
|
|
408
|
+
"category": "female",
|
|
409
|
+
"value": 89,
|
|
410
|
+
"lower": 85,
|
|
411
|
+
"upper": 93
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"date": "2023-01-06",
|
|
415
|
+
"category": "male",
|
|
416
|
+
"value": 2,
|
|
417
|
+
"lower": 1,
|
|
418
|
+
"upper": 3
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"date": "2023-01-06",
|
|
422
|
+
"category": "female",
|
|
423
|
+
"value": 12,
|
|
424
|
+
"lower": 9,
|
|
425
|
+
"upper": 15
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"date": "2023-01-07",
|
|
429
|
+
"category": "male",
|
|
430
|
+
"value": 36,
|
|
431
|
+
"lower": 34,
|
|
432
|
+
"upper": 38
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"date": "2023-01-07",
|
|
436
|
+
"category": "female",
|
|
437
|
+
"value": 46,
|
|
438
|
+
"lower": 42,
|
|
439
|
+
"upper": 50
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"date": "2023-01-08",
|
|
443
|
+
"category": "male",
|
|
444
|
+
"value": 9,
|
|
445
|
+
"lower": 7,
|
|
446
|
+
"upper": 11
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"date": "2023-01-08",
|
|
450
|
+
"category": "female",
|
|
451
|
+
"value": 19,
|
|
452
|
+
"lower": 16,
|
|
453
|
+
"upper": 22
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"date": "2023-01-09",
|
|
457
|
+
"category": "male",
|
|
458
|
+
"value": 3,
|
|
459
|
+
"lower": 2,
|
|
460
|
+
"upper": 4
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"date": "2023-01-09",
|
|
464
|
+
"category": "female",
|
|
465
|
+
"value": 13,
|
|
466
|
+
"lower": 10,
|
|
467
|
+
"upper": 16
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"date": "2023-01-10",
|
|
471
|
+
"category": "male",
|
|
472
|
+
"value": 64,
|
|
473
|
+
"lower": 62,
|
|
474
|
+
"upper": 66
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"date": "2023-01-10",
|
|
478
|
+
"category": "female",
|
|
479
|
+
"value": 74,
|
|
480
|
+
"lower": 70,
|
|
481
|
+
"upper": 78
|
|
482
|
+
}
|
|
483
|
+
],
|
|
484
|
+
"dataFileName": "valid-forecast-data.csv",
|
|
485
|
+
"dataFileSourceType": "file",
|
|
486
|
+
"dataDescription": {
|
|
487
|
+
"horizontal": false,
|
|
488
|
+
"series": false
|
|
489
|
+
},
|
|
490
|
+
"version": "4.24.10",
|
|
491
|
+
"dynamicMarginTop": 0,
|
|
492
|
+
"regions": []
|
|
493
|
+
}
|