Help:D3 chart format

From semantic-mediawiki.org
Jump to: navigation, search
D3 chart format
Various charts using the d3.js as visualization library
Scenarios, examples, demos
Example: D3 chart examples
Image collection
Further Information
Provided by: Semantic Result Formats
Added: 1.8.0
Removed: still supported
Requirements: none
Format name: d3chart
Enabled by default: 
Indicates whether the result format is enabled by default upon installation of the respective extension.
yes
Authors: James Hong Kong
Categories: charts
Group: d3 , data visualization
Class: SRFD3Chart, SMWAggregatablePrinter
Table of Contents

↓ INFO ↓

Parameters

Parameter Type Default Description
distribution yes/no no Instead of displaying all values, count their occurrences, and show these.
distributionsort text none Sort the value distribution by occurrence count.
distributionlimit whole number no Limit the value distribution to the count of only some values.
aggregation text subject <smw-paramdesc-aggregation>
min whole number no The minimum value to show on the Y-axis
charttype text treemap Available chart type
height whole number 400 Specify the height (in pixels) of a chart or graph
width text 100% Specify the width (in pixels or percent) of a chart or graph
charttitle text empty The title of the chart
charttext text empty Descriptive chart text
class text empty Specify an additional cascading style sheet class
datalabels text none Chart/graph data labels
colorscheme text empty Select a color scheme
chartcolor text empty Assign individual chart colors

No examples assigned to this printer. No best practices assigned to this printer.

Parameter options

  • charttype( 'bubble', 'treemap')
  • datalabels ( 'none', 'value' )

...

Examples



This documentation page applies to all SMW versions from 1.8.0 to the most current version.
     

Help:D3 chart format en 1.8.0