# VegaLite rescale plots domain

**URL:** <https://discourse.julialang.org/t/vegalite-rescale-plots-domain/21120>\
**Category:** Visualization\
**Created:** [February 23, 2019, 7:44pm UTC](https://discourse.julialang.org/t/vegalite-rescale-plots-domain/21120 "2019-02-23T19:44:23Z")\
**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 23, 2019, 7:44pm UTC](https://discourse.julialang.org/t/vegalite-rescale-plots-domain/21120/1 "2019-02-23T19:44:23Z")

</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 `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.
