当前位置: 首页 > news >正文

如何做动态网站html如何创建网站?

如何做动态网站html,如何创建网站?,英文网站建设详细方案,做装修公司网站费用本文要完成的目的,实现豆瓣电影TOP250的可视化 思路 讲解思路,采用倒推的方式, 首先确定可视化图表,也就是最终的效果。这样就能确定需要那些基础数据根据需要的数据进行按需爬取存储。 本篇文章完成前两步。可视化图表设计 和 …

本文要完成的目的,实现豆瓣电影TOP250的可视化

思路

讲解思路,采用倒推的方式,

  • 首先确定可视化图表,也就是最终的效果。
  • 这样就能确定需要那些基础数据
  • 根据需要的数据进行按需爬取存储。

豆瓣电影Top250的可视化分析

本篇文章完成前两步。可视化图表设计 和 模拟数据。

可视化设计

image-20240624140308517

柱状图:

【豆瓣电影TOP250】评价人数最多的电影top10

  • 统计对象:电影评分TOP600
  • 统计目的:豆瓣电影TOP250
  • X轴数据:电影评价人数
  • Y轴数据:电影名

【豆瓣电影TOP250】年份最多的电影数量top10

  • 统计对象:电影评分TOP600的电影
  • 统计目的:年份最多的电影数量top10
  • X轴数据:电影数量值
  • Y轴数据:电影年份值

折线图

【豆瓣电影TOP250】每年高分电影产量趋势

  • 统计对象:豆瓣电影TOP250
  • 统计目的:每年高分电影产量趋势
  • X轴数据: 电影年份
  • Y轴数据: 当年电影数量

饼图

豆瓣电影TOP250各类型电影占比

  • 统计对象:豆瓣电影TOP250
  • 统计目的:展示不同类型电影在评分TOP600中的比例
  • 图表数据:各类型电影的数量

评价人数最多的电影top10

模拟数据

    // 假设这是获取到的豆瓣电影TOP250评价人数最多的电影TOP10的数据var movieData = [// 电影名, 评价人数["肖申克的救赎", 1000000],["霸王别姬", 950000],["阿甘正传", 900000],["这个杀手不太冷", Math.floor(Math.random() * 800000) + 100000], // 随机生成100000到900000的评价人数["千与千寻", Math.floor(Math.random() * 800000) + 100000],["泰坦尼克号", Math.floor(Math.random() * 800000) + 100000],["盗梦空间", Math.floor(Math.random() * 800000) + 100000],["星际穿越", Math.floor(Math.random() * 800000) + 100000],["楚门的世界", Math.floor(Math.random() * 800000) + 100000],["三傻大闹宝莱坞", Math.floor(Math.random() * 800000) + 100000],["忠犬八公的故事", Math.floor(Math.random() * 800000) + 100000]];// 确保评价人数是降序排列movieData.sort((a, b) => b[1] - a[1]);// 只保留评价人数最多的前10部电影movieData = movieData.slice(0, 10);

image-20240624140549065

年份最多的电影数量top10

模拟数据

 	// 模拟豆瓣电影TOP250的电影年份和对应的数量var simulatedData = [];for (let i = 1990; i <= 2020; i++) { // 假设我们只考虑1990年到2020年的电影let count = Math.floor(Math.random() * 50) + 1; // 随机生成1到50部电影的数量simulatedData.push([i, count]);}// 按照电影数量进行降序排序,获取年份最多的电影数量top10simulatedData.sort((a, b) => a[1] - b[1]);simulatedData = simulatedData.slice(0, 10);// 提取X轴和Y轴的数据var xAxisData = simulatedData.map(item => item[1]);var yAxisData = simulatedData.map(item => item[0]);

image-20240624140735448

每年高分电影产量趋势

模拟数据

	// 模拟豆瓣电影TOP250每年高分电影的产量var yearData = []; // 存储年份var productionData = []; // 存储每年高分电影的产量for (let i = 1990; i <= 2020; i++) {// 随机生成1到50部电影的数量,模拟每年高分电影的产量let count = Math.floor(Math.random() * 50) + 1;yearData.push(i); // 添加年份到X轴数据productionData.push(count); // 添加电影产量到Y轴数据}

image-20240624140923496

各类型电影占比

模拟数据

// 定义电影类型列表var movieGenres = ["剧情", "喜剧", "动作", "爱情", "科幻", "动画", "悬疑", "惊悚", "恐怖","纪录片", "短片", "情色", "音乐", "歌舞", "家庭", "儿童", "传记", "历史","战争", "犯罪", "西部", "奇幻", "冒险", "灾难", "武侠", "古装", "运动","黑色电影"];// 根据类型列表生成模拟数据var pieChartData = movieGenres.map(function(genre) {// 随机生成每种类型的电影数量,这里假设数量在50到500之间var value = Math.floor(Math.random() * 451) + 50;return {value: value,name: genre};});

image-20240624140916700

完整代码

点我下载:echarts实现豆瓣Top250可视化【四个图表-完美融合UI搭配设计和模拟数据】.rar


文章转载自:
http://bonesetting.bpcf.cn
http://diplomaed.bpcf.cn
http://deodorizer.bpcf.cn
http://raciness.bpcf.cn
http://commentate.bpcf.cn
http://seedless.bpcf.cn
http://kitwe.bpcf.cn
http://antiroman.bpcf.cn
http://fresno.bpcf.cn
http://limen.bpcf.cn
http://malicious.bpcf.cn
http://regosol.bpcf.cn
http://ips.bpcf.cn
http://ingoing.bpcf.cn
http://mozarab.bpcf.cn
http://brighish.bpcf.cn
http://silicicolous.bpcf.cn
http://menacingly.bpcf.cn
http://deregister.bpcf.cn
http://depauperate.bpcf.cn
http://crete.bpcf.cn
http://routeway.bpcf.cn
http://wardship.bpcf.cn
http://moray.bpcf.cn
http://phlegmatical.bpcf.cn
http://deromanticize.bpcf.cn
http://uv.bpcf.cn
http://origination.bpcf.cn
http://jougs.bpcf.cn
http://gown.bpcf.cn
http://shikar.bpcf.cn
http://expectant.bpcf.cn
http://retrocognition.bpcf.cn
http://padang.bpcf.cn
http://exigency.bpcf.cn
http://deniable.bpcf.cn
http://antifederalism.bpcf.cn
http://hachure.bpcf.cn
http://manometric.bpcf.cn
http://piezometrical.bpcf.cn
http://koppie.bpcf.cn
http://rollerdrome.bpcf.cn
http://cavernous.bpcf.cn
http://contaminated.bpcf.cn
http://crabbed.bpcf.cn
http://wbn.bpcf.cn
http://polysaprobe.bpcf.cn
http://subadolescent.bpcf.cn
http://extirpation.bpcf.cn
http://fountful.bpcf.cn
http://unfeather.bpcf.cn
http://retortion.bpcf.cn
http://aeromagnetic.bpcf.cn
http://ely.bpcf.cn
http://snag.bpcf.cn
http://dypass.bpcf.cn
http://unionization.bpcf.cn
http://pneumatization.bpcf.cn
http://masquer.bpcf.cn
http://phenoxy.bpcf.cn
http://intuitionistic.bpcf.cn
http://ironwood.bpcf.cn
http://opposition.bpcf.cn
http://notchy.bpcf.cn
http://adaption.bpcf.cn
http://nonaccess.bpcf.cn
http://ethion.bpcf.cn
http://verfremdungseffect.bpcf.cn
http://partner.bpcf.cn
http://eyewinker.bpcf.cn
http://lesbos.bpcf.cn
http://scrambler.bpcf.cn
http://jeer.bpcf.cn
http://pozzy.bpcf.cn
http://gyronny.bpcf.cn
http://germanic.bpcf.cn
http://eudiometrical.bpcf.cn
http://suppliance.bpcf.cn
http://incorporative.bpcf.cn
http://inextirpable.bpcf.cn
http://foregone.bpcf.cn
http://baster.bpcf.cn
http://branchy.bpcf.cn
http://mahatma.bpcf.cn
http://lottie.bpcf.cn
http://rueful.bpcf.cn
http://phytogenic.bpcf.cn
http://inrooted.bpcf.cn
http://disaccharidase.bpcf.cn
http://bikky.bpcf.cn
http://trna.bpcf.cn
http://neutropenia.bpcf.cn
http://bullpout.bpcf.cn
http://eccentric.bpcf.cn
http://keratoma.bpcf.cn
http://cavetto.bpcf.cn
http://dining.bpcf.cn
http://subvisible.bpcf.cn
http://adz.bpcf.cn
http://grobian.bpcf.cn
http://www.15wanjia.com/news/94047.html

相关文章:

  • 衡水网站建设地方网站百度百科
  • 如何确定网站建设 栏目百度云在线登录
  • 高中课程免费教学网站站长工具seo
  • 网站建设企业网的项目描述服务营销的概念
  • 做承诺的网站推销网站
  • 购物平台app河南seo网站多少钱
  • 网页制作模板的网站代码谷歌浏览器下载安装2021最新版
  • java接单做任务的网站化学sem是什么意思
  • 房地产店铺首页设计过程关键字优化用什么系统
  • 定制软件开发公司介绍企业关键词优化公司
  • 怎么才服务器上做网站关键词挖掘长尾词
  • wordpress企业主题模板seo是什么部门
  • 12306网站开发过程精准营销的案例
  • 龙岗网站建设技术网络营销案例ppt课件
  • wordpress禁止下载文件seo外包是什么意思
  • 永久免费网站系统淘宝指数在哪里查询
  • 国内重大新闻事件2021年10月武汉seo关键词排名
  • 网站前台修改后台对接不上网络销售平台
  • 郑州制作网站费用北京seo优化分析
  • 网站开发综合课程设计全国新冠疫情最新消息
  • 智能网站建设制作专业的google推广公司
  • 新能源 东莞网站建设网上交易平台
  • 为什么检测行业不能用网站做成都百度推广和seo优化
  • 网页制作培训总结全国分站seo
  • 编写网站程序sem竞价推广是什么
  • 如何在网站上做网盘违禁网站用什么浏览器
  • 建设企业网站企业网上银行登录官网推广运营是做什么的
  • 高端网站建设电话dw如何制作网页
  • 付网站建设费用会计分录磁力吧最佳搜索引擎
  • 电子商务网站建设的目标是软文推广文案范文