项目详情
由
分享


HelloGitHub 评分
0 人评分
开源•BSD-3-Clause
认领
讨论
收藏
分享
10k
星数
否
中文
Python
主语言
是
活跃
164
贡献者
155
Issues
是
组织
5.5.0
最新版本
816
Forks
BSD-3-Clause
协议
更多

强大的数据可视化 Python 库。支持多种数据展示方式、接口简单、效果炫酷,示例代码和效果如下:
```python
import altair as alt
from vega_datasets import data
source = data.cars()
brush = alt.selection(type='interval')
points = alt.Chart(source).mark_point().encode(
x='Horsepower',
y='Miles_per_Gallon',
color=alt.condition(brush, 'Origin', alt.value('lightgray'))
).add_selection(
brush
)
bars = alt.Chart(source).mark_bar().encode(
y='Origin',
color='Origin',
x='count(Origin)'
).transform_filter(
brush
)
points & bars
```
收录于:
第 53 期
评论
评分:
暂无精选评论