This is a simple Nivo bar chart. The data must be in a key value format such as the one defined below. This particular chart is indexed by state and the y-axis is the population.
$Data = @(
@{
state = "idaho"
population = 1720000
}
@{
state = "wisconsin"
population = 5800000
}
@{
state = "montana"
population = 1050000
}
@{
state = "illinois"
population = 12800000
}
)
New-UDNivoChart -Bar -Data $Data -Keys 'population' -IndexBy 'state' -Height 500 -Width 1000 -MarginTop 50 -MarginRight 130 -MarginBottom 50 -MarginLeft 60 -Padding 0.3
Multiple Data Keys
This bar chart provides multiple data points per indexed bar.