简体   繁体   中英

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.

Link for the graphic visualization: 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?

I don't see a graph that is exactly like the one listed, but matplotlib provides a huge number of options.

http://matplotlib.org/gallery.html

It supports Sankey graphs as well:

http://matplotlib.org/api/sankey_api.html?highlight=sankey#module-matplotlib.sankey

This tzpe of graph is called a chord diagram . a related question on stackoverflow can be found here . Bad news is there is no answer. And, unfortunately, looking around on the internet doesn't bring much.

As edouard mentioned, it is a Chord diagram. 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.

It's essentially a weighted graph . It looks a lot like a Sankey diagram .

There is specialized software for visualizing graphs, eg graphviz . There are several Python bindings for it.

You would have to look at the documentation if it can create this style of graph.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM