forked from owid/owid-grapher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEditorFAQ.tsx
98 lines (97 loc) · 4.79 KB
/
EditorFAQ.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
import React from "react"
import { Modal } from "./Forms.js"
import { faLink, faUnlink } from "@fortawesome/free-solid-svg-icons"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome/index.js"
export class EditorFAQ extends React.Component<{ onClose: () => void }> {
render() {
return (
<Modal onClose={this.props.onClose} className="EditorFAQ">
<div className="modal-header">
<h3 className="modal-title">Frequently Asked Questions</h3>
</div>
<div className="modal-body">
<h6>How do I make a chart?</h6>
<p>
See this{" "}
<a
target="_blank"
rel="noopener"
href="https://ourworldindata.org/how-to-our-world-in-data-guide/#owid-grapher"
>
more in depth guide
</a>{" "}
for the full process.
</p>
<h6>What are "indicators" and "entities"?</h6>
<p>
They roughly correspond to columns and rows in a CSV
file. For OWID, entities are usually but not always
countries.
</p>
<h6>What do the little icons mean?</h6>
<p>
If you see the <FontAwesomeIcon icon={faLink} /> link
icon, it means a field is currently linked to the
database and has its default value. By changing that
field you break the link{" "}
<FontAwesomeIcon icon={faUnlink} /> and set manual input
for this particular chart.
</p>
<h6>When are charts updated?</h6>
<p>
The version of the chart you see in the editor is always
the most current version. When published, charts are
bundled together in a static build process and sent to
Netlify for distribution around the world. This means it
may take a few minutes for the live version to be
updated.
</p>
<p>
The public version of a chart is not (currently) updated
automatically when new data is uploaded. You may need to
click "update chart" to have data changes reflected
publicly.
</p>
<p>
You can check the publication status and history in the{" "}
<a href="https://owid.slack.com/messages/changelog/">
#changelog
</a>{" "}
channel.
</p>
<h6>How much data can I put in one chart?</h6>
<p>
The fewer indicators the better. To allow for fast
interactivity, the grapher preloads <strong>all</strong>{" "}
the data for each indicator added to a chart, including
every year and entity. If you have 10+ big indicators on
one chart it may be a little slow to load.
</p>
<p>
Similarly, if you select many entities or have very long
subtitles the chart will become visually cluttered. Make
sure there's enough room for the chart to work well in
the mobile preview, and if in doubt make two smaller
charts rather than one big one.
</p>
<h6>Why does it say "No matching data"?</h6>
<p>
Check the data selection on the "Data" tab and the
specified year range on the "Customize" tab.
Alternatively, you might be trying to show a categorical
indicator on a numeric chart type or vice versa, which
won't work.
</p>
<h6>Other questions or bug reports</h6>
<p>
Fastest way to get support is to ask in{" "}
<a href="https://owid.slack.com/messages/tech-issues/">
#tech-issues
</a>{" "}
on the OWID Slack!
</p>
</div>
</Modal>
)
}
}