-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
370 lines (335 loc) · 21.1 KB
/
index.html
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
<!DOCTYPE html>
<html class="writer-html5" lang="en">
<head>
<meta charset="utf-8" />
<meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vega-Altair: Declarative Visualization in Python — Altair 4.2.2 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/altair-plot.css" type="text/css" />
<link rel="stylesheet" href="_static/altair-gallery.css" type="text/css" />
<link rel="stylesheet" href="_static/theme_overrides.css" type="text/css" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
<link rel="shortcut icon" href="_static/favicon.ico" />
<!--[if lt IE 9]>
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vega@5"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-embed@6"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Overview" href="getting_started/overview.html" />
</head>
<body class="wy-body-for-nav">
<header>
<div class="announcement">
<span>This website is for Vega-Altair v4. Go to the <a href="https://altair-viz.github.io">main Vega-Altair
homepage</a> for the latest release.</span>
</div>
</header>
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href="#" class="icon icon-home"> Altair
<img src="_static/altair-logo-light.png" class="logo" alt="Logo" />
</a>
<div class="version">
4.2.2
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">Getting Started</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="getting_started/overview.html">Overview</a></li>
<li class="toctree-l1"><a class="reference internal"
href="getting_started/installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal"
href="getting_started/installation.html#dependencies">Dependencies</a></li>
<li class="toctree-l1"><a class="reference internal"
href="getting_started/installation.html#development-install">Development Install</a></li>
<li class="toctree-l1"><a class="reference internal" href="getting_started/starting.html">Basic Statistical
Visualization</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Gallery</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="gallery/index.html">Example Gallery</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">User Guide</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="user_guide/data.html">Specifying Data in
Altair</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/encoding.html">Encodings</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/marks.html">Marks</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/transform/index.html">Data
Transformations</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/interactions.html">Bindings,
Selections, Conditions: Making Charts Interactive</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/configuration.html">Top-Level Chart
Configuration</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/compound_charts.html">Compound Charts:
Layer, HConcat, VConcat, Repeat, Facet</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/scale_resolve.html">Scale and Guide
Resolution</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/saving_charts.html">Saving Altair
Charts</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/customization.html">Customizing
Visualizations</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/times_and_dates.html">Times and Dates
in Altair</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/faq.html">Frequently Asked
Questions</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/troubleshooting.html">Display
Troubleshooting</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/internals.html">Altair Internals:
Understanding the Library</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/API.html">API Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/ecosystem.html">Altair Ecosystem</a>
</li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Case Studies</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="case_studies/exploring-weather.html">Exploring
Seattle Weather</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Advanced Usage</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="user_guide/importing.html">Importing Vega &
Vega-Lite Versions</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/display_frontends.html">Displaying
Altair Charts</a></li>
<li class="toctree-l1"><a class="reference internal"
href="user_guide/display_frontends.html#renderer-api">Renderer API</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/custom_renderers.html">Customizing
Renderers</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/data_transformers.html">Data
transformers</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Release Notes</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="releases/changes.html">Altair Change Log</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="Mobile navigation menu">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="#">Altair</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="#" class="icon icon-home"></a> »</li>
<li>Vega-Altair: Declarative Visualization in Python</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/index.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr />
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<section id="altair-declarative-visualization-in-python">
<h1>Vega-Altair: Declarative Visualization in Python<a class="headerlink"
href="#altair-declarative-visualization-in-python" title="Permalink to this headline"></a></h1>
<div id="showcase">
<div class="examples">
<a class="preview" href="gallery/one_dot_per_zipcode.html"
style="background-image: url(/_static/one_dot_per_zipcode-thumb.png)"></a>
<a class="preview" href="gallery/horizon_graph.html"
style="background-image: url(/_static/horizon_graph-thumb.png)"></a>
<a class="preview" href="gallery/world_projections.html"
style="background-image: url(/_static/world_projections-thumb.png)"></a>
<a class="preview" href="gallery/candlestick_chart.html"
style="background-image: url(/_static/candlestick_chart-thumb.png)"></a>
<a class="preview" href="gallery/falkensee.html"
style="background-image: url(/_static/falkensee-thumb.png)"></a>
<a class="preview" href="gallery/scatter_linked_brush.html"
style="background-image: url(/_static/scatter_linked_brush-thumb.png)"></a>
<a class="preview" href="gallery/layered_heatmap_text.html"
style="background-image: url(/_static/layered_heatmap_text-thumb.png)"></a>
<a class="preview" href="gallery/natural_disasters.html"
style="background-image: url(/_static/natural_disasters-thumb.png)"></a>
<a class="preview" href="gallery/streamgraph.html"
style="background-image: url(/_static/streamgraph-thumb.png)"></a>
<a class="preview" href="gallery/multiline_tooltip.html"
style="background-image: url(/_static/multiline_tooltip-thumb.png)"></a>
<a class="preview" href="gallery/select_detail.html"
style="background-image: url(/_static/select_detail-thumb.png)"></a>
<a class="preview" href="gallery/choropleth.html"
style="background-image: url(/_static/choropleth-thumb.png)"></a>
<a class="preview" href="gallery/interactive_cross_highlight.html"
style="background-image: url(/_static/interactive_cross_highlight-thumb.png)"></a>
<a class="preview" href="gallery/seattle_weather_interactive.html"
style="background-image: url(/_static/seattle_weather_interactive-thumb.png)"></a>
<a class="preview" href="gallery/london_tube.html"
style="background-image: url(/_static/london_tube-thumb.png)"></a>
</div>
</div>
<p>Vega-Altair is a declarative statistical visualization library for Python, based on
<a class="reference external" href="http://vega.github.io/vega">Vega</a> and <a
class="reference external" href="http://vega.github.io/vega-lite">Vega-Lite</a>, and the source is
available on
<a class="reference external" href="http://github.com/altair-viz/altair">GitHub</a>.
</p>
<p><i>The Vega-Altair open source project is not affiliated with Altair Engineering, Inc.</i></p>
<p>With Vega-Altair, you can spend more time understanding your data and its meaning.
Altair’s API is simple, friendly and consistent and built on top of the
powerful <a class="reference external" href="http://vega.github.io/vega-lite">Vega-Lite</a>
visualization grammar. This elegant simplicity produces
beautiful and effective visualizations with a minimal amount of code.</p>
<div class="toctree-wrapper compound">
<p class="caption" role="heading"><span class="caption-text">Getting Started</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal"
href="getting_started/overview.html">Overview</a></li>
<li class="toctree-l1"><a class="reference internal"
href="getting_started/installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal"
href="getting_started/installation.html#dependencies">Dependencies</a></li>
<li class="toctree-l1"><a class="reference internal"
href="getting_started/installation.html#development-install">Development Install</a></li>
<li class="toctree-l1"><a class="reference internal" href="getting_started/starting.html">Basic
Statistical Visualization</a></li>
</ul>
</div>
<div class="toctree-wrapper compound">
<p class="caption" role="heading"><span class="caption-text">Gallery</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="gallery/index.html">Example Gallery</a>
</li>
</ul>
</div>
<div class="toctree-wrapper compound">
<p class="caption" role="heading"><span class="caption-text">User Guide</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="user_guide/data.html">Specifying Data in
Altair</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/encoding.html">Encodings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/marks.html">Marks</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/transform/index.html">Data
Transformations</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/interactions.html">Bindings,
Selections, Conditions: Making Charts Interactive</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/configuration.html">Top-Level
Chart Configuration</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/compound_charts.html">Compound
Charts: Layer, HConcat, VConcat, Repeat, Facet</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/scale_resolve.html">Scale and
Guide Resolution</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/saving_charts.html">Saving
Altair Charts</a></li>
<li class="toctree-l1"><a class="reference internal"
href="user_guide/customization.html">Customizing Visualizations</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/times_and_dates.html">Times
and Dates in Altair</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/faq.html">Frequently Asked
Questions</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/troubleshooting.html">Display
Troubleshooting</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/internals.html">Altair
Internals: Understanding the Library</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/API.html">API Reference</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/ecosystem.html">Altair
Ecosystem</a></li>
</ul>
</div>
<div class="toctree-wrapper compound">
<p class="caption" role="heading"><span class="caption-text">Case Studies</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal"
href="case_studies/exploring-weather.html">Exploring Seattle Weather</a></li>
</ul>
</div>
<div class="toctree-wrapper compound">
<p class="caption" role="heading"><span class="caption-text">Advanced Usage</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="user_guide/importing.html">Importing Vega
& Vega-Lite Versions</a></li>
<li class="toctree-l1"><a class="reference internal"
href="user_guide/display_frontends.html">Displaying Altair Charts</a></li>
<li class="toctree-l1"><a class="reference internal"
href="user_guide/display_frontends.html#renderer-api">Renderer API</a></li>
<li class="toctree-l1"><a class="reference internal"
href="user_guide/custom_renderers.html">Customizing Renderers</a></li>
<li class="toctree-l1"><a class="reference internal" href="user_guide/data_transformers.html">Data
transformers</a></li>
</ul>
</div>
<div class="toctree-wrapper compound">
<p class="caption" role="heading"><span class="caption-text">Release Notes</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="releases/changes.html">Altair Change
Log</a></li>
</ul>
</div>
<section id="bug-reports-questions">
<h2>Bug Reports & Questions<a class="headerlink" href="#bug-reports-questions"
title="Permalink to this headline"></a></h2>
<p>Vega-Altair is BSD-licensed and the source is available on <a class="reference external"
href="http://github.com/altair-viz/altair">GitHub</a>. If any
questions or issues come up as you use Altair, please get in touch via
<a class="reference external" href="http://github.com/altair-viz/altair/issues">Git Issues</a> or
our <a class="reference external" href="https://groups.google.com/forum/#!forum/altair-viz">Google
Group</a>.
</p>
</section>
<section id="indices-and-tables">
<h2>Indices and tables<a class="headerlink" href="#indices-and-tables"
title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>
<p><a class="reference internal" href="genindex.html"><span class="std std-ref">Index</span></a>
</p>
</li>
<li>
<p><a class="reference internal" href="py-modindex.html"><span class="std std-ref">Module
Index</span></a></p>
</li>
</ul>
</section>
</section>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="getting_started/overview.html" class="btn btn-neutral float-right" title="Overview" accesskey="n"
rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>
<hr />
<div role="contentinfo">
<p>© Copyright 2016-2020, Altair Developers.</p>
</div>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>