New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Add 5 new examples #3851
base: main
Are you sure you want to change the base?
docs: Add 5 new examples #3851
Conversation
An example of Vega visualization that automatically switches between a column chart and a line chart depending on the number of data points
events added for Home and End keys
description updated
updated image resolution
changed color to match other examples
color changed to match other examples
md + json
add earthquakes-globe example
updated data source URL
….vg.json .json -> .vg.json
.json -> .vg.json
.json -> .vg.json
.json -> .vg.json
.json -> .vg.json
usermeta property removed
latest version with 2023 data
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dynamic or dynamical?
image: /examples/img/column-line-dynamical.png | ||
--- | ||
|
||
An example of a Vega visualization that automatically switches between a Column chart and a Line chart depending on the number of data points. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An example of a Vega visualization that automatically switches between a Column chart and a Line chart depending on the number of data points. | |
An example of a Vega visualization that automatically switches between a bar chart and a line chart depending on the number of data points. |
|
||
An example of a Vega visualization that automatically switches between a Column chart and a Line chart depending on the number of data points. | ||
|
||
Use the slider to change the number of data points displayed on the chart. For more than 50 data points, the chart type will be changed from a Column chart to a Line chart (with interpolation). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the slider to change the number of data points displayed on the chart. For more than 50 data points, the chart type will be changed from a Column chart to a Line chart (with interpolation). | |
Use the slider to change the number of data points displayed on the chart. For more than 50 data points, the chart type will be changed from a bar chart to a line chart (with interpolation). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not change it here since it should come from Vega datasets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will it be a problem that we don't have this in Vega datasets? If we want it there, maybe we should support the whole world?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above. Is it a problem that we don't have this in Vega datasets? Maybe you can instead use an existing example dataset.
New Interaction Techniques examples
Example 1: A simple one-column table with a vertical scrollbar. The scrollbar responds to dragging the scrollbar with a mouse, mouse wheel scrolling, and the Page Up, Page Down, Arrow Up, and Arrow Down buttons.
Example 2: Automatically switches between a column chart and a line chart depending on the number of data points.
Example 3: An example of a custom tooltip. A map featuring a circular, semi-transparent tooltip that displays information about the county under the cursor.
New Custom Design examples
Example 4: A globe visualization of earthquakes. Enhanced and animated version.
Example 5: Table (Matrix): An example of a table (matrix) with embedded images (country flags) and bar charts.
Other changes
Warming Stripes example - data file updated