A Vega-Lite example that uses JSON data exported from Gephi: The Open Graph Viz Platform.
Example data was copied from NAVBO: Then and Now. It was loaded into Gephi and exported as a JSON Graph (File/Export/Graph file...
). The data is embedded in the Vega-Lite spec (vis.vl.json
) as two datasets: nodes
and edges
. The spec renders nodes and edges according to the color and size encodings created in Gephi. All attributes available to Gephi are available in the Vega-Lite spec for further customization as needed.