How to change the first sight of discover Visualize

It show in histogram , how to change it to pie .
I found the code in kibana/public/discover/components/field_chooser/field_chooser.js Line 161
var type = isGeoPoint ? 'tile_map' : 'histogram';
The default key is histogram ,I change histogram to pie. But when I restart the kibana ,It not work .

Any ideas what is going on?

try clearing the cache and restart again, sometimes it works,
Considering if your logic is correct. :slight_smile:

I use WebStorm in windows ,But I don't found clear cache on WebStorm . So I clean the workspace and reimport it , but it not work .