This article tells you everything you need to know about how to view and create chart visualizations in Silk. Charts are an excellent way to visualize numbers and distributions. To learn about Silk visualizations in general, go to the getting started with visualizations tutorial.

How to create a chart

To create a chart, click on the ‘Explore’ tab, and select one of the charts from the menu. You will then see a chart, and some pickers on top of it. These pickers let you adjust the chart view.

Use the ‘Collection’ picker to select the collection of datacards you want to visualize. Use the other picker to change which numerical tags are shown in the bars, line, or slices (depending on the type of chart).

If you’re the owner of the Silk, you can click the green ‘Publish’ button to publish the visualization to your home page or another page.

You can also add a chart to your Silk by editing your home page or another page, and use the ‘+’ icon anywhere you want to the chart. Select one of the charts from the ‘visualization’ menu.

The different charts

Access the different charts via the explore tab. Each chart has its own merits:

  • Vertical Column charts have columns with lengths proportional to the values that they represent. You can plot more than one value this way. Use this to represent categorical data.
  • Horizontal Bar charts help you visualise large amounts of numeric data without having to be constrained by the width of your screen, so it is better for mobile users. It’s also a better choice if your tag names are long.
  • Stack charts are like column charts, but with the column divided into subparts by value to show the cumulative effect of these values.
  • Line charts display information as a series of datapoints connected by straight segments. Use one to see how a value changes by time or place.
  • Area charts can show proportions between values in data. A stacked area chart is mostly used for values developing over time.
  • Pie charts are a circle divided into sectors, showing numerical proportion.
  • Donut charts are like pie charts but with a hole in the middle, which may be a preferable look to the pie chart in some cases.

Adjusting a chart

The explore mode shows several pickers, which you can use to adjust the visualization.

  • Pick the collection visualized with the ‘Collection’ picker
  • Add bars, columns, lines, or slices to show with the pickers next to the ‘Collection’ picker. The bar-, column-, and line charts can plot multiple tags. The area charts need at least 2 tags.
  • Click on the ‘Distribution’ text link to show a count of values in the chart, instead of the values themselves.

More options to adjust the chart

Click the ‘More options’ button and you will access a menu that allows you to further adjust your chart.

  • The ‘Sort by’ picker lets you sort the visualization by a fact
  • The ‘Maximum items’ picker limits the number of items shown
  • The ‘Number of slices’ shown for pie- and donut charts limits the number of slices shown. Slices that are not shown will be grouped in an ‘other’ slice
  • The ‘Secondary numeric axis’ lets you pick a second axis for bar-, column-, and line charts.

Filtering your charts

Click on the ‘Add filter’ button to filter your data.

You can filter your results by text, values that occur often, ranges, and more. Either type the filters into the pre-set filter boxes or click the ‘Add filter’ button and select a new filter from the available tags.

For more information, see the help article on filtering.

Share and embed visualization

A sharing button is located above every Silk visualization, and on every explore page.

You can share the visualization on Twitter or Facebook. The share link will take people to the exact same page and visualization view that was showing when you clicked the ‘Share’ button.

You can also embed a visualization on your website or blog. Click ‘Share’ then click on the ‘Embed’ button. Copy the embed code to your clipboard. Paste the code into the editor for your website or blog.