当前位置:网站首页>Data visualization diagram microblog forwarding diagram
Data visualization diagram microblog forwarding diagram
2022-06-12 20:38:00 【six million five hundred and fifty thousand five hundred and tw】
import json
from pyecharts import options as opts
from pyecharts.charts import Graph
with open("weibo.json", "r", encoding="utf-8") as f:
j = json.load(f)
nodes, links, categories, cont, mid, userl = j
c = (
Graph()
.add(
"",
nodes,
links,
categories,
repulsion=50,
linestyle_opts=opts.LineStyleOpts(curve=0.2),
label_opts=opts.LabelOpts(is_show=False),
)
.set_global_opts(
legend_opts=opts.LegendOpts(is_show=False),
title_opts=opts.TitleOpts(title="Graph- Microblog forwarding diagram "),
)
.render("graph_weibo.html")
)
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
- 17.
- 18.
- 19.
- 20.
- 21.
- 22.
- 23.
- 24.
- 25.
边栏推荐
- P5076 【深基16.例7】普通二叉树(简化版)
- Bsn-ddc basic network introduction, technical features, unique advantages, application scenarios and platform access
- Is foreign exchange speculation formal and is the fund safe?
- Centos7 installing MySQL 5.7
- P5076 [deep base 16. Example 7] common binary tree (simplified version)
- Blue Bridge Cup basic-15 VIP question string comparison
- 测试人如何规划自己的未来?才能实现入行2年达到25k?
- new做了哪几件事
- QT知识:Qt Widgets小部件类【01】
- The required books for software testers (with e-books) recommended by senior Ali have benefited me a lot
猜你喜欢
QT pro file configuration ffmpeg macro
【生成对抗网络学习 其三】BiGAN论文阅读笔记及其原理理解
测试人如何规划自己的未来?才能实现入行2年达到25k?
Double carbon in every direction: green demand and competition focus in the calculation from the east to the West
竣达技术丨适用于“科士达”智能精密空调网络监控
入行5年从10k的功能测试到年薪40w的测试开发,花7天时间整理的超全学习路线
Introduction to system mode development of rouya wechat mall
typeScript的定义类型:不能将类型“Timeout”分配给类型“number”;
A Zhu and Xu Baobao's high-rise game - difference
使用Swagger生成 API 文档(go语言示例)
随机推荐
Large and small end conversion
Golang type assertion understanding [go language Bible]
Let Google browser fofa plug-in come alive
Algorinote_ 2_ Main theorem and Akra bazzi theorem
P5076 [deep base 16. Example 7] common binary tree (simplified version)
The difference between MySQL full table scanning and indexing
Operating instructions for installing mysql5.7 in centos7
Unauthorized rce in VMware vCenter
How can the openwrt package manager image be switched to an alicloud source?
How to determine the sample size of an inspection lot in SAP QM's initial sampling strategy?
Deploy etcd cluster in static pod mode
Centos7 installing MySQL 5.7
Can tonghuashun open an account? Can tonghuashun directly open the security of securities companies on the app? How to open an account online when buying stocks
[untitled]
Parameter meaning of random forest randomforestclassifier in sklearn
CentOS7安装MySQL5.7操作说明
Go -- monitor file changes
Centos7 installing PHP
做自媒体视频,友好的新媒体运营必备app分享
How mysterious is "PIP not an internal or external command, nor a runnable program or batch file"