This example is a revision of Focus+Context via Brushing to demonstrate how to use D3's brush component to implement focus + context zooming but along the y-axis. Click and drag up/down in the narrow chart on the left to pan or zoom.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
simple example script for running and testing notebook resulting in a new workbook. | |
Usage: `ipnbdoctest.py foo.ipynb foo_new.ipynb` | |
Each cell is submitted to the kernel, and the outputs are compared with those stored in the notebook. | |
""" | |
import io |
This line chart is an adaptation of Multi-Series Line Chart.
The adaptation highlights:
- Focus+Context via Brushing - Click and drag in the small chart to pan or zoom.
- Brush Transitions - Hover over legend items to refocus the chart on a single city.
- Touch Events - Mouseover effects simulated on tablets with touch events.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start the old vagrant | |
$ vagrant init centos-6.3 | |
$ vagrant up | |
# You should see a message like: | |
# [default] The guest additions on this VM do not match the install version of | |
# VirtualBox! This may cause things such as forwarded ports, shared | |
# folders, and more to not work properly. If any of those things fail on | |
# this machine, please update the guest additions and repackage the | |
# box. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 |