Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xovee/canv
CANV: Co-Authorship Network Visualization.
https://github.com/xovee/canv
co-author co-authorship collaboration collaboration-graph dblp network visualization webweb xovee
Last synced: 10 days ago
JSON representation
CANV: Co-Authorship Network Visualization.
- Host: GitHub
- URL: https://github.com/xovee/canv
- Owner: Xovee
- License: gpl-3.0
- Created: 2021-07-20T14:26:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-10T12:45:30.000Z (8 months ago)
- Last Synced: 2024-03-10T13:47:37.253Z (8 months ago)
- Topics: co-author, co-authorship, collaboration, collaboration-graph, dblp, network, visualization, webweb, xovee
- Language: HTML
- Homepage: https://www.xoveexu.com/project/canv.html
- Size: 3.23 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CANV: Co-Authorship Network Visualization
![Example](asset/teaser.png)
**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](https://github.com/dblarremore/webweb). See an example above (my network) or at [here](https://www.xoveexu.com/project/canv.html). You can use this tool to create a standalone webpage containing your co-authorship network.
## Dependency
```shell
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](https://scholar.google.com/) or [dblp](https://dblp.org) author page, download
your bibliographic data, e.g., `xovee-xu.bib` or `xovee-xu.xml`2. Run [canv.py](./canv.py), then you have `xovee-xu.html`, that's all!
```shell
> 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.
```shell
> python canv.py --help
```
Example:
```shell
> python canv.py xovee-xu.xml --show_percentage_names 20
```## Deep Customization
You can directly edit [template.html](./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](./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
- Prof. [Andrew Y. Ng](https://www.xoveexu.com/html/canv/andrew-y-ng.html)
![](./asset/andrew-ng.png)## Acknowledgment
Thanks to [webweb](https://github.com/dblarremore/webweb) and [dblp](https://dblp.org) and [Google Scholar](https://scholar.google.com) teams.
## LICENSE
GPL-3.0 License
## Contact
If you notice any bugs or have suggestions, please contact me at `xovee at live.com`