Skip to content

Xovee/canv

Repository files navigation

CANV: Co-Authorship Network Visualization

Example

Update: previously CANV is built on top of webweb. I plan to update CANV using ECharts directly.

CANV is an interactive co-authorship network visualization tool (a.k.a. collaboration graph) based on webweb. See an example above (my network) or at here. You can use this tool to create a standalone webpage containing your co-authorship network.

Dependency

pip install -r requirements.txt

Usage

You can create your co-authorship network with a few easy steps in no time.

  1. Open your Google Scholar or dblp author page, download your bibliographic data, e.g., xovee-xu.bib or xovee-xu.xml

download data

  1. Run canv.py, then you have xovee-xu.html, that's all!
> python canv.py xovee-xu.bib # or xovee-xu.xml

Option

There are several options you can customize your CANV page. For example, control the number of names show in the canvas.

> python canv.py --help

Example:

> python canv.py xovee-xu.xml --show_percentage_names 20

Deep Customization

You can directly edit template.html to deeply customize your page. Some examples:

  • If you want to change node colormap, search d3.interpolateReds(webweb.scales.colors.scalar(x)) in template.html and replace it within the color you like.
  • If you want to regularize node color/size values, modify the getRawNodeValues() function, e.g., rawValues[i] = val; to rawValues[i] = Math.log(val)

More Examples

Acknowledgment

Thanks to webweb and dblp and Google Scholar teams.

LICENSE

GPL-3.0 License

Contact

If you notice any bugs or have suggestions, please contact me at xovee at live.com