styleOtherCircleChartRadius

Set radius of circle.

Note

To show circles you need to switch to circle chart mode.

Specification

Default implementation: { styleOtherCircleChartRadius : 4 }

Key

Name Alias Category 
styleOtherCircleChartRadius style__other__circle_chart_radius Style 

Value

Allow positive integers beginning from 1 as value.

Default Validation Type 
4 ^[1-9]d*$ Integer 

Example A.

Set circle radius to: 4

Output

Open output in a blank window. Download examples as zip.

Parameters

This dataset shows the mobile google pagerank performance score for a certain website.

  Value Type
Source "../data/performance.json" String
X "name" String
Y [ "mobile" ] Array
Options { "showDataAsCircle" : true, "styleOtherCircleChartRadius" : 4 } Object

Source Code

  • Invoke Function
d3.statosio( 
    file, 
    "name", 
    [ "mobile" ], 
    { "showDataAsCircle" : true, "styleOtherCircleChartRadius" : 4 }
)
  • HTML Implementation
<!DOCTYPE html>
<head>
    <title>d3.statosio - styleOtherCircleChartRadius</title>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
    <meta content="utf-8" http-equiv="encoding">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/6.2.0/d3.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/statosio/0.9/statosio.js"></script>
</head>
<body>
    <script>
        d3.json( "../data/performance.json" )
            .then( ( file ) => {
                d3.statosio( 
                    file, 
                    "name", 
                    [ "mobile" ], 
                    { "showDataAsCircle" : true, "styleOtherCircleChartRadius" : 4 }
                )
            } )
    </script>
</body>

Example B.

Set circle radius to: 14

Output

Open output in a blank window. Download examples as zip.

Parameters

This dataset shows the mobile google pagerank performance score for a certain website.

  Value Type
Source "../data/performance.json" String
X "name" String
Y [ "mobile" ] Array
Options { "showDataAsCircle" : true, "styleOtherCircleChartRadius" : 14 } Object

Source Code

  • Invoke Function
d3.statosio( 
    file, 
    "name", 
    [ "mobile" ], 
    { "showDataAsCircle" : true, "styleOtherCircleChartRadius" : 14 }
)
  • HTML Implementation
<!DOCTYPE html>
<head>
    <title>d3.statosio - styleOtherCircleChartRadius</title>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
    <meta content="utf-8" http-equiv="encoding">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/6.2.0/d3.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/statosio/0.9/statosio.js"></script>
</head>
<body>
    <script>
        d3.json( "../data/performance.json" )
            .then( ( file ) => {
                d3.statosio( 
                    file, 
                    "name", 
                    [ "mobile" ], 
                    { "showDataAsCircle" : true, "styleOtherCircleChartRadius" : 14 }
                )
            } )
    </script>
</body>