[英]Creating graphic visualization in python
Link shows a graphic visualization taken form census website. 链接显示了人口普查网站上的图形可视化。 Link for the same is shared below.
相同的链接在下面共享。 I want to create graphic visualization of the same kind in my python program.
我想在我的python程序中创建相同类型的图形可视化。
Link for the graphic visualization: http://www.census.gov/dataviz/visualizations/stem/stem-html/ 图形可视化的链接: http : //www.census.gov/dataviz/visualizations/stem/stem-html/
Which kind of visualization is this? 这是哪种可视化? is it a piechart or any other different kind of graphic visualization.
它是饼图还是任何其他不同类型的图形可视化。
Are there any APIs available to create such a visualization or do i need to use any web service? 是否有可用的API创建这种可视化效果,或者我需要使用任何Web服务?
I don't see a graph that is exactly like the one listed, but matplotlib provides a huge number of options. 我没有看到与列出的图完全相同的图,但是matplotlib提供了很多选项。
http://matplotlib.org/gallery.html http://matplotlib.org/gallery.html
It supports Sankey graphs as well: 它也支持Sankey图:
http://matplotlib.org/api/sankey_api.html?highlight=sankey#module-matplotlib.sankey http://matplotlib.org/api/sankey_api.html?highlight=sankey#module-matplotlib.sankey
As edouard mentioned, it is a Chord diagram. 如edouard所述,它是一个Chord图。 The D3js.org site has two examples - one static ( http://bl.ocks.org/mbostock/4062006 - which was listed in the other question edouard mentioned ) and one interactive ( http://bost.ocks.org/mike/uberdata/ ) which is more like the Census graphic.
D3js.org站点有两个示例-一个静态示例( http://bl.ocks.org/mbostock/4062006-已在提及的另一个问题edouard中列出)和一个交互式示例 ( http://bost.ocks.org/ mike / uberdata / ),它更像是人口普查图形。
It's essentially a weighted graph . 本质上是加权图 。 It looks a lot like a Sankey diagram .
它看起来很像Sankey图 。
There is specialized software for visualizing graphs, eg graphviz . 有用于可视化图形的专用软件,例如graphviz 。 There are several Python bindings for it.
它有几个Python绑定。
You would have to look at the documentation if it can create this style of graph. 如果它可以创建这种样式的图形,则必须查看文档。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.