Skip to content

Instantly share code, notes, and snippets.

@ashenfad
ashenfad / README.md
Last active August 29, 2015 13:59
BigML Clusters - Concrete Strength

A visualization of seven clusters discovered on the concrete compression strength dataset.

Each cluster is represented by a ball. The cluster radii are proportional to the population of each cluster.

The y-axis shows the distance of each cluster to the current point (selected by the sliders). The lower a cluster's position, the nearer it is the current point. The order of the clusters on the x-axis are from nearest to furthest.

The initial point is the median for each field. Selecting a cluster will set the current point equal to the cluster's centroid.

Finally, the colors on each slider represent the closest cluster to the current point for that range.

@ashenfad
ashenfad / README.md
Last active March 31, 2017 01:07
Congressional District Gerrymandering Grades

Grades for each state (and district) based on how badly the district shapes seem gerrymandered.

Click on a state to see the individual district grades. Click on any district to return to the state view. Click and drag to pan, and scroll to zoom.

To compute a district's gerrymandering score I use the ratio of a district's area over the area of its convex hull. A district is only

@ashenfad
ashenfad / README.md
Last active August 29, 2015 14:05
Dynamic Scatterplot - Abalone

Dynamic scatterplot of the a sample from the abalone dataset, including the top 10 anomalies found with BigML's isolation forest.

Controls:

  • Left click to choose X-axis.
  • Right click to choose Y-axis.
  • Alt + right click to choose color axis.
  • Repeat click (left, right, or alt) for log scale.
  • Hover over a point to see all field values.
  • Click a multi-point (larger circle) to cycle through values.
@ashenfad
ashenfad / README.md
Last active June 13, 2016 18:04
Dynamic Scatterplot - Iris

Dynamic scatterplot of the iris dataset.

Controls:

  • Left click to choose X-axis.
  • Right click to choose Y-axis.
  • Alt + right click to choose color axis.
  • Repeat click (left, right, or alt) for log scale.
  • Hover over a point to see all field values.
  • Click a multi-point (larger circle) to cycle through values.
@ashenfad
ashenfad / README.md
Last active August 29, 2015 14:05
Dynamic Scatterplot - Wine

Dynamic scatterplot of the a sample from the wine quality dataset, including four clusters found with BigML's kmeans.

Controls:

  • Left click to choose X-axis.
  • Right click to choose Y-axis.
  • Alt + right click to choose color axis.
  • Repeat click (left, right, or alt) for log scale.
  • Hover over a point to see all field values.
  • Click a multi-point (larger circle) to cycle through values.
@ashenfad
ashenfad / README.md
Last active August 29, 2015 14:05
Dynamic Scatterplot - Autos

Dynamic scatterplot of the 1985 automobiles dataset.

Controls:

  • Left click to choose X-axis.
  • Right click to choose Y-axis.
  • Alt + right click to choose color axis.
  • Repeat click (left, right, or alt) for log scale.
  • Hover over a point to see all field values.
  • Click a multi-point (larger circle) to cycle through values.
@ashenfad
ashenfad / README.md
Last active August 29, 2015 14:08
Blood Plasma Histogram

A visualization of blood plasma from the UCI diabetes dataset. The distribution is stored with a streaming histogram.

  • Brush to zoom.
  • Click to zoom out.
  • t to toggle trimming some of the outliers from the distribution.
  • r to toggle rounding populations for each bin.
  • i to toggle the distribution interpolation mode.
@ashenfad
ashenfad / README.md
Last active August 29, 2015 14:08
Wine Sulphate Histogram

A visualization of sulphates in wine using distributions from two separate clusters (kmeans). The distributions are stored with a streaming histogram.

  • Brush to zoom.
  • Click to zoom out.
  • t to toggle trimming some of the outliers from the distribution.
  • r to toggle rounding populations for each bin.
  • i to toggle the distribution interpolation mode.
@ashenfad
ashenfad / README.md
Last active August 29, 2015 14:08
Wine Density Histogram

A visualization of wine densities using distributions from two separate clusters (kmeans). The distributions are stored with a streaming histogram.

  • Brush to zoom.
  • Click to zoom out.
  • t to toggle trimming some of the outliers from the distribution.
  • r to toggle rounding populations for each bin.
  • i to toggle the distribution interpolation mode.
@ashenfad
ashenfad / README.md
Last active August 29, 2015 14:11
Expanded Dynamic Histogram Test

A visualization of a test dataset with some negative valued outliers. The distribution is stored with a streaming histogram.

  • Brush to zoom.
  • Click to zoom out.
  • t to toggle trimming some of the outliers from the distribution.
  • r to toggle rounding populations for each bin.
  • i to toggle the distribution interpolation mode.