使用1.9.1版本的pyecharts绘制一个气泡图的示例
时间: 2023-03-14 19:41:05 浏览: 184
使用1.9.1版本的pyecharts绘制一个气泡图的示例可以参考下面的代码:from pyecharts.charts import Bubble from pyecharts import options as opts c = (Bubble() .add_xaxis(["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"]) .add_yaxis("商家A", [114, 55, 27, 101, 125, 27]) .add_yaxis("商家B", [57, 134, 137, 129, 145, 60]) .set_global_opts(title_opts=opts.TitleOpts(title="气泡图示例")) .render("bubble_chart.html") )
相关问题
新版本pyecharts.faker
根据引用和引用中的信息,可以得知pyecharts是一个用于数据可视化的Python库。根据引用中的版本信息,新版本pyecharts的版本号是1.9.1。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Pyecharts可视化](https://blog.csdn.net/weixin_53742691/article/details/126200124)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Python学习,第十课(pyecharts,让数据可视化)](https://blog.csdn.net/weixin_46537934/article/details/119856873)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文