# VegaLite rescale data plots

**URL:** <https://discourse.julialang.org/t/vegalite-rescale-data-plots/21143>\
**Category:** Visualization\
**Created:** [February 24, 2019, 1:32pm UTC](https://discourse.julialang.org/t/vegalite-rescale-data-plots/21143 "2019-02-24T13:32:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nik.ltin](https://avatars.discourse-cdn.com/v4/letter/n/6bbea6/32.png) [@nik.ltin](https://discourse.julialang.org/u/nik.ltin)\
**Post date:** [February 24, 2019, 1:32pm UTC](https://discourse.julialang.org/t/vegalite-rescale-data-plots/21143/1 "2019-02-24T13:32:54Z")

</div>

Hello all, I’m using VegaLite for bar plots with the `@vlplot(:bar...)` command. I’m looking at a dataset that I’d like to rescale to go from 1 to 100. I tried adding in the command  
`julia> y={:df1, scale={domain=[0,100], nice=false}}`  
(where df1 is my dataframe), however this does not rescale the numbers. Are there any inbuilt commands in VegaLite I could use for this purpose instead of having to standardize the data (i.e. divide by variances and multiply by 100)?

Appreciate all help.
