Skip to content

Instantly share code, notes, and snippets.

Marielle Lange widged

Block or report user

Report or block widged

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@widged
widged / bxl.geojson
Last active Dec 17, 2018
geojson demo
View bxl.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@widged
widged / README.md
Last active Jul 20, 2018 — forked from wpoely86/README.md
Diverging Stacked Bar Chart
View README.md
@widged
widged / BreedingGraph.js
Last active Apr 21, 2017
d3.v4 linegraph with gradient
View BreedingGraph.js
class BreedingGraph {
constructor() {
this.rootNode = document.createElement('breeding-graph');
}
mount(parentNode) {
parentNode.appendChild(this.rootNode);
return this;
}
@widged
widged / index.html
Last active Oct 27, 2016 — forked from anonymous/index.html
example of search on tree layout
View index.html
<!DOCTYPE html>
<title>Callgraph expandable tree visualization on 16 processors</title>
<meta charset="utf-8">
<style>
.node {
cursor: pointer;
}
.node circle {
@widged
widged / east.geojson
Created Oct 16, 2015 — forked from mapsam/east.geojson
a geometry collection
View east.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@widged
widged / README.md
Created Oct 14, 2015 — forked from enjalot/README.md
manhattan distance
View README.md

Click on the various examples

Each example is a random vector in the same "space" as the sample in the top left.

Drag on individual rows

Each row represents one dimension of our vectors. You can drag them back and forth to change the value of our vector for that dimension.

Watch how the similarity bar changes

The bar below each vector is a measure of how similar it is to the sample in the top left.

Whats going on?

@widged
widged / README.md
Created Oct 14, 2015 — forked from enjalot/README.md
cosine similarity
View README.md

Click on the various examples

Each example is a random vector in the same "space" as the sample in the top left.

Drag on individual rows

Each row represents one dimension of our vectors. You can drag them back and forth to change the value of our vector for that dimension.

Watch how the similarity bar changes

The bar below each vector is a measure of how similar it is to the sample in the top left.

Whats going on?

View load_csv_article.adoc

LOAD CSV into Neo4j quickly and successfully

Since version 2.1 Neo4j provides out-of-the box support for CSV ingestion. The LOAD CSV command that was added to the Cypher Query language is a versatile and powerful ETL tool. It allows you to ingest CSV data from any URL into a friendly parameter stream for your simple or complex graph update operation, that …​ conversion.

View csv_import_neo4j.adoc

Importing the csv file from data.govt.nz. The header row is "Title","Url","DatasetType","Agency","AgencyContact","AgencyContactEmail","AgencyContactPhone","Description","Format","UpdateFrequency","Cost","CostInformation","SubmissionSource","Licence","LicenceURL","Date listed","Date last updated","DatasetLastUpdated","DatasetCreation","Guid"

USING PERIODIC COMMIT 100
LOAD CSV WITH HEADERS FROM "https://data.govt.nz/search/csv/?q=&CategoryID=0"
  AS line
WITH line LIMIT 500
You can’t perform that action at this time.