.. This document is auto-generated by the altair-gallery extension. Do not modify directly. .. _example-gallery: Example Gallery --------------- This gallery contains a selection of examples of the plots Altair can create. Some may seem fairly complicated at first glance, but they are built by combining a simple set of declarative building blocks. Many draw upon sample datasets compiled by the `Vega `_ project. To access them yourself, install `vega_datasets `_. .. code-block:: none $ pip install vega_datasets .. _gallery-category-Simple Charts: Simple Charts ~~~~~~~~~~~~~ .. raw:: html Scatter Plot with Tooltips Simple Bar Chart Simple Heatmap Simple Histogram Simple Line Chart Simple Line Chart with Markers Simple Scatter Plot Simple Stacked Area Chart Strip Plot
.. toctree:: :hidden: scatter_tooltips simple_bar_chart simple_heatmap simple_histogram simple_line_chart simple_line_chart_with_markers simple_scatter simple_stacked_area_chart strip_plot .. _gallery-category-Bar Charts: Bar Charts ~~~~~~~~~~ .. raw:: html Bar Chart with Highlight Box Plot with Min/Max Whiskers Calculating Percentage of Total Candlestick Chart Diverging Stacked Bar Chart Error Bars showing Confidence Interval Gantt Chart Grouped Bar Chart Horizontal Aggregate Bar Chart Horizontal Stacked Bar Chart LayerChart with Bar and Tick Layered Bar Chart Layered Bar Chart with Line as Mean Layered Plot with Dual-Axis Normalized Stacked Bar Chart Simple Bar Chart with Labels Simple Highlighted Bar Chart Stacked Bar Chart Trellis Stacked Bar Chart
.. toctree:: :hidden: bar_chart_with_highlight boxplot_max_min percentage_of_total candlestick_chart diverging_stacked_bar_chart error_bars_with_ci gantt_chart grouped_bar_chart aggregate_bar_chart horizontal_stacked_bar_chart layered_chart_bar_mark layered_bar_chart mean_overlay_over_precipitiation_chart layered_plot_with_dual_axis normalized_stacked_bar_chart bar_chart_with_labels simple_highlighted_bar_chart stacked_bar_chart trellis_stacked_bar_chart .. _gallery-category-Line Charts: Line Charts ~~~~~~~~~~~ .. raw:: html Line Chart with Layered Aggregates Line Chart with Percent axis Line chart with Confidence Interval Band Multi Series Line Chart Slope Graph Step Chart
.. toctree:: :hidden: layer_line_color_rule line_percent line_with_ci multi_series_line slope_graph step_chart .. _gallery-category-Area Charts: Area Charts ~~~~~~~~~~~ .. raw:: html Horizon Graph Interval Selection Example Layered Area Chart Normalized Stacked Area Chart Streamgraph Trellis Area Chart
.. toctree:: :hidden: horizon_graph interval_selection layered_area_chart normalized_stacked_area_chart streamgraph trellis_area .. _gallery-category-Scatter Plots: Scatter Plots ~~~~~~~~~~~~~ .. raw:: html Binned Scatterplot Bubble Plot Connected Scatterplot (Lines with Custom Paths) Dot Dash Plot Multifeature Scatter Plot Polynomial Fit Plot Scatter Matrix Simple Scatter Plot with Errorbars Simple Scatter Plot with Labels Table Bubble Plot (Github Punch Card) Trellis Scatter Plot
.. toctree:: :hidden: binned_scatterplot bubble_plot connected_scatterplot dot_dash_plot multifeature_scatter_plot poly_fit scatter_matrix simple_scatter_with_errorbars scatter_with_labels table_bubble_plot_github trellis_scatter_plot .. _gallery-category-Histograms: Histograms ~~~~~~~~~~ .. raw:: html Histogram with a Global Mean Overlay Layered Histogram Trellis Histogram
.. toctree:: :hidden: histogram_with_a_global_mean_overlay layered_histogram trellis_histogram .. _gallery-category-Maps: Maps ~~~~ .. raw:: html Choropleth Map Repeated Choropleth Map World Projections
.. toctree:: :hidden: choropleth choropleth_repeat world_projections .. _gallery-category-Interactive Charts: Interactive Charts ~~~~~~~~~~~~~~~~~~ .. raw:: html Faceted Scatter Plot with Linked Brushing Interactive Average Interactive Chart with Cross-Highlight Interactive Crossfilter Interactive Rectangular Brush Multi-Line Highlight Multi-Line Tooltip Scatter Plot and Histogram with Interval Selection Selection Detail Example Selection Histogram Simple Interactive Colored Scatterplot
.. toctree:: :hidden: scatter_linked_brush selection_layer_bar_month interactive_cross_highlight interactive_layered_crossfilter interactive_brush multiline_highlight multiline_tooltip scatter_with_histogram select_detail selection_histogram interactive_scatter_plot .. _gallery-category-Case Studies: Case Studies ~~~~~~~~~~~~ .. raw:: html Anscombe's Quartet Becker's Barley Trellis Plot Cumulative Wikipedia Donations Falkensee Gapminder Bubble Plot Isotype Visualization Locations of US Airports London Tube Lines Natural Disasters One Dot Per Zipcode Seattle Weather Interactive Top K Letters U.S. state capitals overlayed on a map of the U.S US Population Over Time US Population Pyramid Over Time
.. toctree:: :hidden: anscombe_plot beckers_barley_trellis_plot cumulative_wiki_donations falkensee gapminder_bubble_plot isotype airports london_tube natural_disasters one_dot_per_zipcode seattle_weather_interactive top_k_letters us_state_capitals us_population_over_time us_population_pyramid_over_time .. _gallery-category-Other Charts: Other Charts ~~~~~~~~~~~~ .. raw:: html Binned Heatmap Facetted Scatterplot with marginal histograms Layering text over a heatmap Multiple Marks Parallel Coordinates Example Ranged Dot Plot Stem and Leaf Plot Trail Marker
.. toctree:: :hidden: binned_heatmap scatter_marginal_hist layered_heatmap_text multiple_marks parallel_coordinates ranged_dot_plot stem_and_leaf trail_marker